What are these standard streams and how do they work? Are they just like normal files where one program writes to the file and another reads from it? If so, how can two programs access the same file at once?
mahela007
6
Posting Whiz in Training
Recommended Answers
Jump to Post> If so, how can two programs access the same file at once?
I thought we were talking about streams, not files.A stream is a conduit between a producer (say your keyboard), and a consumer (your program).
A stream can be redirected, so instead of the producer …
Jump to PostThanks for the reply.. but could someone explain this in a little more detail?
Try this: http://www.cplusplus.com/reference/clibrary/cstdio/
All 6 Replies
Salem
5,138
Posting Sage
mvmalderen
commented:
Nice explanation.
+8
mahela007
6
Posting Whiz in Training
mvmalderen
2,072
Postaholic
mahela007
6
Posting Whiz in Training
mvmalderen
2,072
Postaholic
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.