Holy pandemonium batman! I leave for one day of exams and things just go nuts.
Code:
>> I'm not sure that clear has to be called.
It doesn't. If you have objectinstances in a container, the destructors for those objects
will be called when clear() is called or when the container's destructor is called.
Good to know, thanks for clearing that up. (Way back when)
Code:
Illustration of serious memory/resource leak with vectors:
From back on the first page. I think that's what my initial problem was along the lines of, but I've removed the vector that was causing the problem and reworked it now.
Code:
Personal Opinion Follows:
If you are going to use methods with structs then you should rename it to class and just declare the public part.
I like that, and it makes it a bit more clear as to what's being used as what. I think I'll take the time to re-structure a touch.
As for everything else...whew, right over my head, but sounds like there're some serious issues you guys are in need of solving, so I'll leave you to it I've quickly scanned most of the replies, and I'll do a more thorough read, but from the looks of it, there's quite a bit beyond me and my tiny problems.
Thanks for all your suggestions and help. Now, carry on.