8000 GitHub - ChenGuangXing/DiDoIni: 用于方便的读写INI文件 · GitHub
[go: up one dir, main page]

Skip to content
ChenGuangXingPublic

About

用于方便的读写INI文件

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiDoIni

用于方便的读写INI文件

下面是个例子:

try{

 DiDo::CIniFile Settings_Ini("c:\\Settings.ini");

 Settings_Ini["Hello")]["World")] = "Hello world!";

 COUT << Settings_Ini["Hello"]("World");

} catch ( int e ){

 switch(e){
	 case DiDo::CIniException::Err_FileName_Cannot_Be_NULL: COUT << "Err_FileName_Cannot_Be_NULL"); break;
	 case DiDo::CIniException::Err_Section_Cannot_Be_NULL: COUT  << "Err_Section_Cannot_Be_NULL");  break;
	 case DiDo::CIniException::Err_Key_Cannot_Be_NULL: COUT      << "Err_Key_Cannot_Be_NULL");      break;
	 default:
		throw e;
}

}

About

用于方便的读写INI文件

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0