Hello everyone,
I need help in programming the code for link list in C++, i have no software (compiler) and no deep experience in programming.
so, please help me to start programming link list.
i have seen tutorial on Google and on my book but i have not found the concept behind.
like here:->
s
I need help in programming the code for link list in C++, i have no software (compiler) and no deep experience in programming.
so, please help me to start programming link list.
i have seen tutorial on Google and on my book but i have not found the concept behind.
like here:->
s
Rich (BB code):
truct node { int x; node *next; };
int main()
{ node *root; // This will be the unchanging first node root = new node; // Now root points to a node struct root->next = 0; // The node root points to has its next pointer // set equal to a null pointer root->x = 5; // By using the -> operator, you can modify the node // a pointer (root in this case) points to. }