When the EOF condition has been reached.
Type: Posts; User: laserlight
When the EOF condition has been reached.
Okay, post your current program. Use a common indent style and have each statement on its own line.
Does your test output using the given sample input match the sample output exactly? Sometimes tiny formatting differences can cause problems for automated checkers.
Note that variable length arrays are not part of standard C++, so if the compiler for the automatic checker does not allow for such a language extension, your code will not even compile.