my private members can't be accessed through the functions
Last edited on
void square::horizontal() {...}
To define a member function you need to put the class identifier before the function.
Last edited on
wow i am slow today, what a stupid mistake
thanks
Erm, what happened to your post, TC?
Yea, there is five lines of blank code and one with a }
.
Well there's your problem sir.