Advertisement

STL fstream

Started by November 04, 2000 10:42 PM
-1 comments, last by drago 24 years, 2 months ago
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