C++ Builder 处理 INI文件的方法
使用TIniFile类
TIniFile *GameIni = new TIniFile ("fungame.ini");
GameIni->WriteBool("Options", "Sound", true);
GameIni->WriteInteger("Options", "Level", 3);
GameIni->WriteBool("Configuration", "ShowToolBar", false);
delete GameIni;
GameIni->WriteBool("Options", "Sound", true);
GameIni->WriteInteger("Options", "Level", 3);
GameIni->WriteBool("Configuration", "ShowToolBar", false);
delete GameIni;