CFile f;
CFileException e;

if( !f.Open("duo.txt", CFile::modeRead, &e ) )
{
#ifdef _DEBUG
afxDump << "File could not be opened " << e.m_cause << "\n";
#endif
}


ファイルの読み込みがわからない.いろんなサイトにいろいろ書いてあるが,
Read()の使いが...えーと,えーと,
ファイルのサイズが大きくても(数百K)うーんと,
いっぺんに読み込むんだと思うけど...