|
|
вернуться в форумHow can the program recognize when there aren´t more inputs ? Послано Albert 18 янв 2020 00:38 I investigated on internet, but most of the answers were putting a type of character that breaks the cycle, but in the input example there´s no character and it´s not enough with a "while(cin >> n)" pls help Re: How can the program recognize when there aren´t more inputs ? Re: How can the program recognize when there aren´t more inputs ? Послано Q 26 фев 2022 22:10 if copypast test text, it read a blank string as EOF by some reason Edited by author 26.02.2022 22:11 |
|
|