why isn't this simple class not working

my private members can't be accessed through the functions

1
2
3
4
5
6

     
     
     
     
}
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?
closed account (jwkNwA7f)
Yea, there is five lines of blank code and one with a }.
closed account (S6k9GNh0)
Well there's your problem sir.
rofl wat
Topic archived. No new replies allowed.