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

saving a struct var info

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

Probably the way most people do it is using the old C functions fwrite(), fread(), and fopen(). You can find MS documentation here.

If you prefer to use the library, open the file as ios::bin.

Or, you can use WriteFile() and ReadFile() from the Win32 API if you feel so inclined.

Docs can be found on MSDN.

Share this post

Link to post
Share on other sites