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
setbuf
setbuf
Jan 11, 2015 at 7:27am UTC
hellcoder
(114)
I am currently reading about buffers.Can anyone give some example when we really needs functions like setbuf or setvbuf etc.
PS:I happen to know when will these functions should be used on earth!
Jan 11, 2015 at 11:35am UTC
MiiNiPaa
(8886)
You can use it to control buffering strategy (for example turn off buffering when writing to the sockets) or change buffer size to maximize IO speed.
Topic archived. No new replies allowed.