192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
Destructors
It's me again.
Having had trouble with converting an implimentation of a Linked List that stored integers to one that stored dynamic types, i decided to rewrite it from scratch.
I think i've layed out my code a lot better this time, but i'm not quite sure what i should put in the destructors.
I'd greatly appreciate it if someone could give me some pointers.
I've attached the cpp file, as it's a bit big to copy & paste (and the formatting's horrible).
P.s. at the moment it's a stack, but i'm probably gonna change it so it's a base class, and have stacks, queues and ordered lists inheriting from it (thanks again Cornedbee).
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons