Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
Perhaps read the input file a line at a time using a string and getline . Then parse the line of text: you could use stringstream s, but I might go with sscanf .
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314