Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Algorithms and flowcharts (Yet another C++ assignment).
#21
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.
Reply


Messages In This Thread
Algorithms and flowcharts (Yet another C++ assignment). - by SaptaZapta - 2013-09-25, 08:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)