Jump to content
  • Advertisement
Sign in to follow this  
kaktusas2598

C++ file stream

This topic is 3160 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

I now many basics techniques in C++, but I discovered what I didn't know C++ file stream. Does i need to know it well and will I'll be using it (if I'll learn) in creating games? Also It would be nice if someone drop here some link to it's tutorial, because I didn't found anything good...

Share this post


Link to post
Share on other sites
Advertisement
Do you know how to use cin and cout? If you do, then you already know everything you need to know about ifstream and ofstream.

Otherwise, check out the reference pages.

Share this post


Link to post
Share on other sites
Since games tend to benefit a lot from a data-driven approach (read, everything that can be configured should be in a file), learning how to work with files is definitely a must. I would also take a look at the link _fastcall gave, it will get you started with basic file I/O. Note that this does not include parsing, meaning that the interpretation of the data you are reading of the input streams is up to you.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!