Archived

This topic is now archived and is closed to further replies.

drago

STL fstream

Recommended Posts

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

Share this post


Link to post
Share on other sites