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 6016 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.

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

Sign me up!