Jump to content
  • Advertisement

Archived

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

STL fstream

This topic is 6407 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!