Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. vinKish

    C++-linked list

    Hi, Your question is not clear. I am able to interpret that you want to save whatever is there in the link list in a file and then to create a link list from that file. If my above interpretation is correct then following may help: 1. Consider each node of link list as a record in the file. 2...
  2. vinKish

    freeing allocated memory...

    Hi, your code does not free the memory of the last node. This happens bcoz you are checking the next of a node for the NULL value. When the control reaches on the last node, "while loop" condition will fail and it will not enter the loop. Try the following code: listelement = start...

Part and Inventory Search

Back
Top