First you should be using templates. But the solution to your problem is to provide a virtual clone function. Look here for more information.
firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
I'll look into the clone thing, but I think we are supposed to write a recursive copy function
what is recursive copy?
firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608