Here is the problem. When I execute the code contained in the zip file at http://www.theotron5000.com/help.zip
(my personal website) the text file is not parsed properly. I use a series of nested loops to read in to a series of integers and character array variables (see source). The parsing works properly after the first line; however, the first line is not read in entirely properly.
For instance, for the text files included in the .zip archive, the first two lines of text input are:
These result in the output of:
NOTE: in the above output, the strin 'iiii' is missing from immediately after the '1' following 'Uno Mas'. However, in the second line that string appears correctly. Also, the text file being read is NationalReps.txt, the others may be ignored.
Why is this occurring?
Thanks for the help,