Please Help

RudeConfig™ Open Source C++ Config File Library

Version 5.0.5

Basic Usage Example

#include <rude/config.h>

using namespace rude;

int main(void)
{
	// Create config object
	//
	Config config;

	
	// load a configuration/.ini file
	//
	config.load("myfile.ini");

	
	// read information
	//
	config.setSection("General Info");
	double cost = config.getDoubleValue("Cost");
	const char *company = config.getStringValue("Company Name");

	
	// create information
	//
	config.setSection("new section");
	config.setStringValue("animal type", "giraffe");
	config.setBoolValue("mammal", true);
	
	// save changes
	//
	config.save();
	return 0;
}