Questions tagged [libconfig]

Libconfig is a simple library for processing structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. The library includes bindings for both the C and C++ languages. It works on POSIX-compliant UNIX and UNIX-like systems (GNU/Linux, Mac OS X, Solaris, FreeBSD), Android, and Windows (2000, XP and later).

Libconfig is a simple library for processing structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code.

Libconfig is very compact — a fraction of the size of the expat XML parser library. This makes it well-suited for memory-constrained systems like handheld devices.

The library includes bindings for both the C and C++ languages. It works on POSIX-compliant UNIX and UNIX-like systems (GNU/Linux, Mac OS X, Solaris, FreeBSD), Android, and Windows (2000, XP and later).

78 questions
0
votes
2 answers

Libconfig edit config value

I am using libconfig to read/wirte config files in my C++ game. Right now I just have this one config file called video.cfg: #Video config file video: { fps: { limited = true; value = 20; }; }; This config file handles the…
drCoding
  • 65
  • 1
  • 3
  • 11
-1
votes
1 answer

Stuck in installing libconfig

I downloaded the release of libconfig from github, and tried to compile it. I ran following commands in the directory of decompressed package: mkdir build cd build cmake .. make Then the terminal output /usr/include/c++/5/cstdlib:118:11: error:…
Finley
  • 795
  • 1
  • 8
  • 26
-2
votes
2 answers

C++ STD Vector push_back doesn't seem to work

I'm making a game with SDL that used libconfig to read some settings from a file. The problem is that I made a class called ClipList that contains a std::vector to store the settings but when trying to add SDL_Rect objects to the vector,…
Magnus
  • 514
  • 2
  • 7
  • 19
1 2 3 4 5
6