In this book im reading, it talks about the C++ I/O. The stream is uses for instance to set flags is cout.setf(ios::showpos) for example. Thats great but whats the stream for windows? :confused: Thanks
Printable View
In this book im reading, it talks about the C++ I/O. The stream is uses for instance to set flags is cout.setf(ios::showpos) for example. Thats great but whats the stream for windows? :confused: Thanks
so I could say ofstream.setf(ios::showpos)? And then any output for exapmle to a messagebox for something would have the showpos flag?
No. Those classes are for stream input/output and are in no way related to the Windows display and notification functions.