| Age | Commit message (Expand) | Author | Files | Lines | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003-11-12 | [lcd4linux @ 2003-11-12 05:42:35 by reinelt] | reinelt | 1 | -4/+9 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-11-11 | [lcd4linux @ 2003-11-11 04:40:20 by reinelt] | reinelt | 5 | -9/+49 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-11-11 | [lcd4linux @ 2003-11-11 04:30:41 by reinelt] | reinelt | 2 | -3/+14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-10-27 | [lcd4linux @ 2003-10-27 09:05:42 by reinelt] | reinelt | 3 | -77/+336 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-10-22 | [lcd4linux @ 2003-10-22 04:32:25 by reinelt] | reinelt | 2 | -4/+18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-10-22 | [lcd4linux @ 2003-10-22 04:19:16 by reinelt] | reinelt | 4 | -37/+115 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2003-10-12 | [lcd4linux @ 2003-10-12 06:08:28 by nicowallmeier] | nicowallmeier | 6 | -6/+633 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/* ----------------------------------------------------------------------------
libconfig - A library for processing structured configuration files
Copyright (C) 2005-2010 Mark A Lindner
This file is part of libconfig.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, see
<http://www.gnu.org/licenses/>.
----------------------------------------------------------------------------
*/
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <libconfig.h++>
using namespace std;
using namespace libconfig;
// This example demonstrates the handling of parsing errors in
// 'invalid.cfg'.
int main(int argc, char **argv)
{
Config cfg;
try
{ |
