Welcome![Sign In][Sign Up]
Location:
Search - IniFile.h

Search list

[File OperateIniFile

Description: 操作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()设置
Platform: | Size: 2987 | Author: 电风扇 | Hits:

[Linux-Unixreadinifile_H

Description: /* * 读取INI文件的函数(C语言) * File: readinifile.h * Read INI File * char* GetInitKey(FileName, Section, Key) * Return Key=>Value * + [config] * + dbhost=localhost * * strcpy(dbhost,GetInitKey("config.ini", "config", "dbhost")) */-/* read INI file functions (C)* File : readinifile.h* Read INI File* char* GetInitKe y ('">, Section, Key)* Return Key =
Platform: | Size: 1024 | Author: eFun | Hits:

[File OperateIniFile

Description: 操作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
Platform: | Size: 3072 | Author: 电风扇 | Hits:

CodeBus www.codebus.net