******************************************* ** 函数名称: SetFloat() ** 输入参数: Section --
系统配置文件还是各模块参数 Item --参数名 Value --参数值 ** 输出: 无 ** 函数功能: 修改配置文件中相应字段(浮点型)的值 ** 创建人: ** Version : 1.01 修改:张步阳 2011.6.22 ******************************************************************/ BOOL CInitFile::SetFloat(CString Section, CString Item, float Value) { CString strtemp; strtemp.Format("%f", Value); WriteFileString(Section, Item, strtemp); return TRUE; } /***************************************************************** ** 函数名称: GetString() ** 输入参数: Section --系统配置文件还是各模块参数 Item --参数名 Value --参数值默认值 ** 输出: 参数值 ** 函数功能: 得到配置文件中相应字段(字符串)的值 ** 创建人: ** Version : 1.01 修改:张步阳 2011.6.22 ******************************************************************/ CString CInitFile::GetString(CString Section, CString Item, CString Value) { return GetFileString(Section, Item, Value); } /*********************************************************