Originally Posted by
lmastex
Oh ok I see. I don't know why but when I add an element (using this code) and press Enter, a windows error occur and the terminal closes. Any ideas?
Yes! there are other mistakes in your code which I didn't touch

.
while( Ptr->Next != NULL) should be replaced.
other misakes are there as well.
Last edited by Laiq Ahmed; Dec 4th, 2008 at 4:06 pm.