Jump to content
Sign in to follow this  
  • entries
  • comments
  • views

Allow me to say ARRRRGH!

Sign in to follow this  


Don't forget to put "rb" instead of just "r" when using fopen to open up a file and the data is binary. That is all.
Sign in to follow this  

1 Comment

Recommended Comments

Really don't do it when you're working on a specially-crafted data file for which there is no backup made. :)

And definitely don't write back to it your mangled data with your autosave function. I did that with my RPG, then decided to go shoot myself in the skull.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!