Use of Ctrl-Z in C++ - TechRepublic
General discussion
September 5, 2001 at 04:38 AM
rmrodrig

Use of Ctrl-Z in C++

by rmrodrig . Updated 24 years, 7 months ago

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 ??

This discussion is locked

All Comments