Im trying to put constants in my class and i get wierd compile messages saying only "=0" allowed. Here is how im doing it.
class Minesweeper {
public:
const int ROW = 9;
....
Am i suppose to define constants out of a class. Also can I define a structure and then use it. I want to define a structure called cell then make an array of "cell"s but I also get errors. I didnt include any header files in this .h. Do i need the iostream header to do basic tasks?
Im use to java programming and classes seem real old fashioned in c++ hehe. Thanks