minini

摘要:minini

minIni is a portable and configurable library for reading and writing ".INI" files.

//如何使用 ini library
minIni ini("xxx.ini");

int nFormat = ini.geti("MODEL", "language_format", 0);
string strModel = ini.gets("MODEL", "language_model", " ");
float fWeight = ini.getf("HMM", "LM_WEIGHT", 8.0f);