摘要:
实现思路:读ini文件,用嵌套map存解析所得数据。保存时,再遍历嵌套map写入文件。接口: string ReadString(string section, string key, string def); void WriteString(string section, string key, string value);代码:头文件:View Code #ifndef LINIFILE_H#define LINIFILE_H#include <map>#include <string>using namespace std;class IniFile{ type 阅读全文
posted @ 2012-09-02 18:59
leon.li
阅读(490)
评论(0)
推荐(0)

浙公网安备 33010602011771号