|
Because of the use of UNICODE, modify it
CFile File;
File.Open (_T ("c:\\rxg.txt"), CStdioFile :: modeCreate | CStdioFile :: modeWrite, NULL);
CStringA str = "Name";
for (int i = 0; i <GetHeaderCtrl ()-> GetItemCount (); i ++)
{
File.Write (str, str.GetLength ());
File.Write (",", 1);
}
File.Write ("\n", 1); |
|