User profile: corbett

User info
User name:corbett
History
Joined:
Number of posts:18
Latest posts:

linked list pass by address error
[quote]Don't forget to delete your 'newed' nodes at the end of your program.[/quote] How do i do th...

linked list pass by address error
[code] if((*List) == NULL) { // *List = new node; (*List) -> data = number; (*List) ...

linked list pass by address error
[code] #include <iostream> using namespace std; struct node { int data; node*next; }; void add(n...

linked list
what is the process to delete everything from a singly linked list. Like S= 1->2->3->... I want t...

adding at the beginning of linked list!
where do i use a double pointer and how? could you write that part?