Discussion Locked
Use of Ctrl-Z in C++
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In C language, I can stop input by keyboard using Ctrl-Z to indicate finish of input.
How can I indicate the same result using the stream of C++, cin ??