文件名称:IniFile
介绍说明--下载内容均来自于网络,请自行研究使用
操作INI文件,非常方便...
使用方法:
1.先把IniFile.h,IniFile.ccp加入Porject,在要使用该类的头文件中加入
#include "IniFile.h",及CIniFile IniFile
2.读取和写入:
string = IniFile.GetString("section","item","默认")
int = IniFile.GetInt("section","item",666)
IniFile.SetString("section","item","设置值")
IniFile.SetInt("section","item",666)
3.ini文件名及路径在初始化时,用SetFileName()设置-Operation of INI file, is very convenient to use ...: 1. First IniFile.h, IniFile.ccp adding Porject, to be used in the first such document by adding# Include
使用方法:
1.先把IniFile.h,IniFile.ccp加入Porject,在要使用该类的头文件中加入
#include "IniFile.h",及CIniFile IniFile
2.读取和写入:
string = IniFile.GetString("section","item","默认")
int = IniFile.GetInt("section","item",666)
IniFile.SetString("section","item","设置值")
IniFile.SetInt("section","item",666)
3.ini文件名及路径在初始化时,用SetFileName()设置-Operation of INI file, is very convenient to use ...: 1. First IniFile.h, IniFile.ccp adding Porject, to be used in the first such document by adding# Include
(系统自动生成,下载前可以参看下载内容)
下载文件列表
IniFile类
.........\IniFile.cpp
.........\IniFile.h
.........\IniFile.cpp
.........\IniFile.h