2013-09-25, 08:34 PM
Yeah, you deleted my line " ch = NonWhiteChar(inF);" which was the first one in the do {} loop.
That is where ch gets a value (which is the next character in the input file, skipping any whitespace).
You could replace it temporarily with "inF >> ch;" and make sure your input file has no blanks and such for now. Once that works, we can step up to dealing with the whitespace.
That is where ch gets a value (which is the next character in the input file, skipping any whitespace).
You could replace it temporarily with "inF >> ch;" and make sure your input file has no blanks and such for now. Once that works, we can step up to dealing with the whitespace.

