![]() |
| | #1 |
| Registered User Join Date: Oct 2002
Posts: 72
| MFC: CStrings & binary files question(s) Code: class Screen
{
public:
Screen();
Screen& operator=(Screen& src);
CString screener;
CString horz;
CString vert;
CString mask;
int ID;
int IDbase;
int buttonBase;
};
I have a fairly good idea about how to do this by making a header struct of fixed size, reading the header struct to find the size of each of the following "Screens" & go from there, but I thought that there might be some sort of fancy MFC method for doing this that I don't know about. is there? if not, can you recommend a better way than what I'm mentioned? Will I run into problems if I try to just write the class out to a binary file beacuse it has the operator function? |
| BrianK is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Binary Search Trees Part III | Prelude | A Brief History of Cprogramming.com | 16 | 10-02-2004 03:00 PM |
| Converting Sign Magnitude Integer Binary Files | Arthur Dent | C Programming | 7 | 09-13-2004 10:07 AM |
| Request for comments | Prelude | A Brief History of Cprogramming.com | 15 | 01-02-2004 10:33 AM |
| Making Binary Output to files using VC++ 6's "fstream" | Perica | C++ Programming | 5 | 02-05-2003 01:48 AM |
| WIndows programming? | hostensteffa | Windows Programming | 7 | 06-07-2002 08:52 PM |