|
|
back to boardUse 'eof' to stop your program Posted by Roby 31 Jul 2006 09:46 if there is a empty line , don't stop your program. Re: Use 'eof' to stop your program Posted by strider 29 Jan 2009 13:17 That's real advise! For the input: ___________ try # try try try. ~~~~~~~~~~~ Correct is the output ___________ try try try. 0 ~~~~~~~~~~~ as well, so don't bother yourself to avoid the last empty line. Contrary, i've lost a lot of time with it. Stop at EOF, not at double empty line! |
|
|