trouble with int and OOP

I'm trying to get int to work in an oop class. . I uses Code::Block as an IDE.
Look at the third post for the actual code and question.
Last edited on
line 9 of main.cpp is declaring a function.
You are messing up things, I suggest you to read the basic tutorials:
http://www.cplusplus.com/doc/tutorial/variables/
http://www.cplusplus.com/doc/tutorial/functions/
Topic archived. No new replies allowed.