a
Microsoft Developer Studio [break] - DumpContextDemo - [DumpContextDemo.Cpp]
[f] File Edit View insert Debug Jools Window Help
i |DumpContextDemo - Win32 Debug
|CObject |
3 filftl <3łl«l M |
JlJ ii ^ ^ ]M |
El Q] DumpContextDemo classes
CPeople::~CPeople(){ delete person; }
#ifdef _DEBUG
void CPeople::Dump( CDumpContext& dc ) const
CObject::Dump(dc);
dc << person->GetBuffer( person->GetLength() + 1);
#endif int main()
CPeople personl("Nicholas Benavides");
CPeople person2("Jim Kimmel");
CPeople person3("Alex Kimmel");
// Use existing afxDump with virtual dump member function c>| person1.Dump( afxDump );
// Instantiate a CFile object
CFile dumpFile("discardme.txt", CFile::modeCreate |
CFile::mode¥rite);
*g ClassView | [=) FileView | ^ lnfoView |
▼ | |||
(\ Build X Debug / Findin |
Files X Profile / || < \ \ |
►I | |
Ready |
Ln 47. Col 1 | ||
Start | ^Microsoft Word - C... |
§3 Microsoft Deve... §§ MS-DOS Prompt | ® DUMPC0~1.EXE |
^ CQ 4:00 PM |