0

There are a lot of handling EOF answers, but their solutions are to break while loop and stop the program when see EOF. But what i want is that user input EOF (control + D), my program can flush it and ask user to input again.

Trieu Nguyen
  • 933
  • 1
  • 11
  • 17

0 Answers0