📄 inifile.cpp
字号:
++// IniFile.cpp: implementation of the CIniFile class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "IniFile.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CIniFile::CIniFile()
{
m_sFileName = _T("\\祑盒2\\SetData.ini");
}
CIniFile::~CIniFile()
{
if(FileContainer.GetSize() > 0)
{
FileContainer.RemoveAll();
}
}
void CIniFile::SetFileName(CString FileName)
{
m_sFileName = FileName;
}
void CIniFile::SetInt(CString Section, CString Item, int Value)
{
CString strtemp;
strtemp.Format(_T("%d"),Value);
//玂
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -