1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#include <iostream>
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <sstream>
#include <string>
#include "Color.h"
using namespace std;
class Dwarf
{
public:
Dwarf (string n, int a, int x, int y);
~Dwarf ();
int age, Xpos, Ypos, carry;
string job, name;
};
Dwarf::Dwarf (string n, int a, int x, int y) : name(n), age(a), Xpos(x), Ypos(y)
{}
Dwarf::~Dwarf(){};
int main()
{
Dwarf Stubby("Stubby", 10, 10, 10);
cout << Dwarf::age;
//ParseInput();
}
|