I'm trying to open a file (contains member information) and store the information in an object, which is then inserted into a linked list. However, the current code just leaves a blank command window hanging with nothing happening. Can someone help point out where i'm going wrong here?
You can also combine lines 11 and 23 into: ifstream clients ( "Clients.txt" );
It's an ifstream (INPUT file stream) so there's no need to specify ios::in.
Yay295:
It stopped freezing using your suggestion, however, after I put a displaylist() call into main, nothing is displayed. This makes me think that nothing is being loaded.