Hi All,
I'm trying to print information from each node in a linked list.
Here's the code for the print:
Here's an example of the output. It's print the address space:Code:if (preloc == NULL) cout << start->next << " "; else cout << preloc->next << " ";
00673174
28
Press any key to continue . . .
00673184
29
Press any key to continue . . .
How do I get it to print the info in the start->next node or preloc->next node?
Any help would be appreciated.