User profile: VoB

User info
User name:VoB
History
Joined:
Number of posts:71
Latest posts:

How to fix the leak in this simple Single-Linked List?
Ah yes, that for loop is really the classical way to traverse a container... don't know why I wrote ...

How to fix the leak in this simple Single-Linked List?
Thanks @seeplus, I've understand the issue now. I have just written the following destructor, but us...

How to fix the leak in this simple Single-Linked List?
I updated my code in this way: notice the destructor of [code]List[/code] at line 31: please tell me...

How to fix the leak in this simple Single-Linked List?
Thanks for your answer @seeplus. However, if I plug [code]~Link(){delete next;}[/code], then I see ...

How to fix the leak in this simple Single-Linked List?
Hi everyone, I have the following simple implementation of a Single-Linked List [code] #include <i...