Updated to use installed libconfigfile rather than local one
[vimicxx.git] / libconfigfile-1.0 / src / configfile_test.cc
blob69ebbbc919891d55648f75549e886cd2c404b33e
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
9 Revision: $Rev$
10 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
12 ********************************************************************************
13 *******************************************************************************/
14 #include "configfile.h"
15 int main()
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");
21 conf.save();
22 return 0;