Registry / config / libconfig

libconfig

JSON →
library1.8.2vcpkgunverified

C/C++ library for processing configuration files.

vcpkg install libconfig
INSTALL
IMPORT
SIG · LIBCONFIG
L
libconfig
configcppv1.8.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libconfig.h++
#include <libconfig.h++>

Reads a configuration file and retrieves a value using libconfig.

#include <libconfig.h++> #include <iostream> int main() { libconfig::Config cfg; try { cfg.readFile("config.cfg"); std::string name; cfg.lookupValue("name", name); std::cout << "Name: " << name << std::endl; } catch (const libconfig::FileIOException &fioex) { std::cerr << "I/O error while reading file." << std::endl; } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources

No resource links recorded.

libconfig — pip install libconfig · libregistry