The ez way to savers!

Started by
7 comments, last by Andrew Nguyen 22 years, 3 months ago
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...
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
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().
Ahhhh... but you hafta go thru all this buffering krAAp.
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
Ahhhh... but you hafta go thru all this buffering krAAp.
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
Wow, that syntax is so butchered!

I think ASCII format save files are a bit deprecated, too...
why thx
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
why thx
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
why thx
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
>>>prays for the day when minimum age limits are put on this board<<<

This topic is closed to new replies.

Advertisement