INI文件的操作,是使用非常方便:1。首先,inifil删除…
代码说明:
操作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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!