March 8th, 2003, 05:13 PM
movement(string a_string, void (*psome_function) (Monkey& a_monkey);
I made a mistake, this needs one more parenthesis at the end:
string a_string, void (*psome_function) (Monkey& a_monkey)
March 8th, 2003, 05:27 PM
excellent m8, thanks so much for all the help, really appreciate it.
Let you know how I get on.
March 8th, 2003, 09:24 PM
"when you say variable of monkey, what exactly do you mean?"
monkey1, number1, and text1 are all variables and their respective types are Monkey, int, and string. So, monkey1 is a variable of type Monkey, although monkey1 is more commonly referred to as an "object" of the "class" Monkey.