2007年5月6日

copy constructor, constructor, friend, basic idea on C++

摘要: Any data which is declared private inside a class is not accessible from outside the class. A function which is not a member or an external class can never access such private data. But there may be s... 阅读全文

posted @ 2007-05-06 16:47 cy163 阅读(866) 评论(0) 推荐(0) 编辑

An equivelent to CFile::Write(); Object serilization

摘要: I have a struct struct S{string Str;int Score;} to store personal info. In VC++ 6.0, I can use CFile::Write() to those struct instances, corresponding to individual personal info, into hard disk file... 阅读全文

posted @ 2007-05-06 16:01 cy163 阅读(423) 评论(0) 推荐(0) 编辑

导航