2010-12-30, 05:26 AM
OK, first problem. I got 4 errors in this class.
I absolutely have no idea where did I go wrong.
Code:
class MineButton
{ public: //error C2814: 'MineSweeper::Form1::MineButton' : a native type cannot be nested within a managed type 'MineSweeper::Form1'
button b;/*error C2146: syntax error : missing ';' before identifier 'b' AND 2 times of error C4430: missing type specifier - int assumed. Note: C++ does not support default-int.*/
MineButton(int x, int y)
{ cx = x;
cy = y;
};
int cx, cy;
};I absolutely have no idea where did I go wrong.

