Jump to content
  • Advertisement

Archived

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

Andrew Nguyen

The ez way to savers!

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

With the system function, you can do EZ save games! Just look: void SAVE() { system("saver > SAV.txt") } saver: void Main() { printf("SUMVAR="SUMVAR+"\n") printf(("SUMVAR2="SUMVAR2+"\n") //And so on... } and that is the EZ saver way! *ANDREW PUTS A FIRE PROOF SUIT AND IS AWAITING FLAMES* Now, of course, it ONLY works in dos...

Share this post


Link to post
Share on other sites
Advertisement
the sad thing is, if you''re smart enough to know about old functions like system() and tricks like using >, you could probably figure out how to use the FILE object and fopen().

Share this post


Link to post
Share on other sites

  • 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!