Library for parsing configuration files
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <iostream>
|
|
#include "../lib/config.hpp"
|
|
|
|
using namespace std;
|
|
using namespace marcelb;
|
|
|
|
int main() {
|
|
|
|
config mycfg ("../example/config.cfg", {"Username", "API", "Domain" });
|
|
cout << mycfg["consolePrintLogs"];
|
|
|
|
mycfg.update("Baba2", "Janja");
|
|
cout << mycfg["Baba"];
|
|
|
|
|
|
return 0;
|
|
} |