Example Configuration File Loader in C

I’ve been playing around in C more lately, and made a really simple configuration loader that behaves kind of like a simplified version of INI files. So far it just supports string, int and float configuration settings, and a fixed number of total configuration settings.

Sample Usage Code:

 

settings.h

 

settings.c