![]() |
|
#1
|
|||
|
|||
Insert problem in linked list with two function codeThere are two different function. The first one loads data from a txt
file and adds the name and num to the linked list. It can display the context of the linked list. I'm designing to use second function to input the data and add the new data to the same linked list. However, It doesn't work. Did I miss sth or do sth wrong in the second function ? CPP / C++ / C Code:
CPP / C++ / C Code:
Last edited by LuciWiz : 25-Mar-2006 at 13:53.
Reason: Please insert your C++ code between [c++] & [/c++] tags
|
|
#2
|
||||
|
||||
|
Please use the code tags, or nobody will understand your code!
Also, please don't send me private messages regarding your problems. If I don't post an answer it is because: 1. I don't have time right now (I'm at work and I'm very busy) 2. I'm not online 3. (very important When I will have time, if I can, I will answer, trust me! CPP / C++ / C Code:
Also, you missed a bracket in your second function (I added it in). Regards, Luci __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
Toyota - 2008 November Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merge sort on a linked list | Temujin_12 | C++ Forum | 1 | 06-Mar-2008 21:33 |
| Insert problem in Linked list | Kay Chan | C Programming Language | 1 | 03-Sep-2004 18:06 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 16:13 |
| Revising Script style ?????? | pepee | MySQL / PHP Forum | 4 | 14-Apr-2004 05:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The