Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing to files ... 1

Status
Not open for further replies.

josphin

Programmer
Apr 5, 2003
19
BE
Another fairly easy problem for you experts out there, i guess. In the MSDN library stands an example for writing an array to files, now i want to write/read a CArray to/from a file. How, please ???
THX!
 
can you give me a little bit more explanation about this please ???
 
Code:
CFile file("file.dat",CFile::modeRead | CFile::shareExclusive);
CArchive ar(&file);

m_array.Serialize(ar);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top