首页 > 焦点 > 移动开发之文件保存
移动开发之文件保存
网上收集 2007/11/26 16:45:28 (206)

一些数据保存到文件中去,每个变量都保存在记事本文件中的一行,每一行记忆个变量的值。

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.


 

阅读(206) (责任编辑:城市网)
关于我们 - 联系我们 - 网站荣誉 - 广告服务 - 版权声明 - 网站地图
Copyright© 2007-2018 bj1.com.cn 首都热线 版权所有 QQ:165687462
中国·北京 粤ICP备14047004号-20