1 Star 0 Fork 39

peterliu/ChanlunX

forked from rubikplanet/ChanlunX 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
IniWriter.h 515 Bytes
一键复制 编辑 原始数据 按行查看 历史
rubikplanet 提交于 2021-10-09 22:16 . 使用std::vector
#ifndef INIWRITER_H
#define INIWRITER_H
#include <windows.h>
#include <tchar.h>
class CIniWriter
{
public:
CIniWriter(LPCTSTR szFileName);
void WriteInteger(LPCTSTR szSection, LPCTSTR szKey, int iValue);
void WriteFloat(LPCTSTR szSection, LPCTSTR szKey, float fltValue);
void WriteBoolean(LPCTSTR szSection, LPCTSTR szKey, bool bolValue);
void WriteString(LPCTSTR szSection, LPCTSTR szKey, LPCTSTR szValue);
private:
TCHAR m_szFileName[255];
};
#endif //INIWRITER_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/youzyliu/ChanlunX.git
git@gitee.com:youzyliu/ChanlunX.git
youzyliu
ChanlunX
ChanlunX
master

搜索帮助