cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
What's does peek do???
What's does peek do???
Sep 22, 2015 at 4:04pm UTC
BEARS
(43)
What does cons peek function do exactly?
A. Returns a copy of the next input char
B. Reads the next input char
C. Will (typically) not cause cour to print a waiting prompt
D. Advances the buffer position
E. Returns the largest waiting input char
It can be one or more of these.
Sep 22, 2015 at 4:32pm UTC
Zhuge
(4664)
Have you tried just looking up the method?
http://www.cplusplus.com/reference/istream/istream/peek/
Topic archived. No new replies allowed.