saving a struct var info
How I can save and restore a info in a struct variable, like "Open For Binary Access" in Visual Basic???
Thx
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.
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
Popular Topics
Advertisement