saving a struct var info

Started by
0 comments, last by alex_r 21 years, 7 months ago
How I can save and restore a info in a struct variable, like "Open For Binary Access" in Visual Basic??? Thx
Advertisement
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.

This topic is closed to new replies.

Advertisement