STL fstream
Hi,
I''m in the progress of learning how to program with the STL/Standard C++ Library.. And I''m now tinkering with file streams.. I want to be able to open a file and see if it''s a new file so that a header can be created or if the header is already there and I can just append any extra stuff into the file.. the MSDN says you can open a file with the ios::nocreate flag, but the compiler thinks differently.. Am I doing something wrong or are my C++ book (which doesn''t mention a nocreate flag) and compiler right?
----------
Mail me, Drago''s OpenGL Website
osu!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement