There is no standard way in C to parse config files. Several libraries have sprung up to solve the problem, but perhaps that is overkill for what should be a simple operation.

Presenting: cfg_parse – a compile-in solution for reading key-value pairs from file(s), looking up settings, and writing a config file back to disk. I could write more about it, but the included main.c shows all the functionality.

Project Activity

See All Activity >

License

Public Domain

Follow cfg_parse

cfg_parse Web Site

You Might Also Like
VUE Labor Management Software for Labor Unions Icon
VUE Labor Management Software for Labor Unions

Empowering Membership Through Technology

One-stop membership management resource that manages membership, dues collection, dispatch, grievances, apprenticeships, retiree affairs, and all other membership and associations related activities.

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

C

Related Categories

C Data Formats Software, C Software Development Software

Registered

2014-01-14