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
Reading from a stream
Reading from a stream
Jan 20, 2014 at 1:04am UTC
ValerieChiang
(8)
Hi guys :)
Does reading from a stream change the stream? If so, how?
Thanks!!
Jan 20, 2014 at 1:16am UTC
LB
(13399)
Yes, reading from a stream changes the internal state of the stream. The read pointer may be moved, error flags may be set, more data might be requested, etc.
Last edited on
Jan 20, 2014 at 1:17am UTC
Topic archived. No new replies allowed.