Well does it compile and run or not?Quote:
Even if the program runs,
If you get compile errors or warnings post those messages exactly as they appear in your development environment.
Why did you add void print() to your class definition? Did you implement this member function?
Jim
PS. I suggest you get rid of the pointers now, why wait? IMO, they're just going to confuse the issues.