kutuup 25 Junior Poster in Training

You can set windows to show all file extensions, whereas typically it will "hide extensions for known file-types" which is the folder option you uncheck.

Ah that will prevent me making this mistake again! Thanks!

kutuup 25 Junior Poster in Training

Post the code here?? Like the entire thing.. or the .cpp file or both.

I have now solved the problem, when I was adding pointers to objects to the various data structures, I was actually passing them a pointer to the SAME object!

What I had done was similar to this:

Class* name = new Class;

Structure->insert(name);
Structure->insert(name);
Structure->insert(name);

Thinking that each time I added it to the structure I was passing it a new instance of Class.

Turns out I was wrong, and when I deleted one, I was deleting the same pointer from every location in every structure.

Rookie mistake I suppose, you live and learn!

Narue commented: Grats for finding the problem. +25