Post the code which
- creates nodes
- adds them to the list
- prints the list.
There's nothing strange when it's implemented correctly, so I'm just going with there are bugs in your code.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953