|
一些数据保存到文件中去,每个变量都保存在记事本文件中的一行,每一行记忆个变量的值。
RFile file; // open the file here ... TFileText txtfile; txtfile.Set(file); // convert your data to a descripter ...
// this operation appends a line delimiter to the descriptor txtfile.Write(data);
// Of cource TFileText::Read() is the reverse operation which read a whole line.
|