class Cfigure
{
public:
int x;
int y;
int step;
int color;
Cfigure (int x, int y, int step)
{
this->x = x;
this->y = y;
this->step = step;
}
};
enum {LEFT,RIGHT,UP,DOWN};
void main ()
{
Cfigure a(5, 5, RIGHT);
}
Bartash: код слід брати у теги code.