1 /*******************************************************************************
2 ********************************************************************************
4 Copyright (c) 2008 Ahmed S. Badran
6 Filename: configfile_test.cc
7 Description: Testing the config file.
8 Created: 08/15/2008 11:43:24 PM PDT
10 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
12 ********************************************************************************
13 *******************************************************************************/
14 #include "configfile.h"
17 configfile
conf("config_file.txt");
18 conf
.add_section("option.test");
19 conf
.add_key("option.test", "key", "value");
20 conf
.add_key("core", "core-key", "core key value");