代码如下:
CStdioFile o_file1(
"
sort.txt
"
,CFile::modeCreate
|
CFile::modeWrite
|
CFile::modeNoTruncate);
o_file1.SeekToEnd();
o_file1.WriteString( " a " );
o_file.Close();
o_file1.SeekToEnd();
o_file1.WriteString( " a " );
o_file.Close();