https://github.com/seb-jones/simple-ini-reader
Fast, Simple, Public Domain INI Reader written in C
https://github.com/seb-jones/simple-ini-reader
c cpp cross-platform ini parser public-domain reader single-file
Last synced: 17 days ago
JSON representation
Fast, Simple, Public Domain INI Reader written in C
- Host: GitHub
- URL: https://github.com/seb-jones/simple-ini-reader
- Owner: seb-jones
- License: unlicense
- Created: 2018-08-02T07:25:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-09T22:55:22.000Z (over 6 years ago)
- Last Synced: 2024-11-14T21:37:55.406Z (6 months ago)
- Topics: c, cpp, cross-platform, ini, parser, public-domain, reader, single-file
- Language: C
- Size: 52.7 KB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - simple-ini-reader
README
# Simple INI Reader
A fast, simple, public domain INI Reader written in C. This repo includes a
single-file library, and a Unix-style command-line utility that acts as a
complete program example and can also be used to read INI files using shell
scripts.## Why Use This?
* Public domain, so no attribution is required.
* Written using only the C Standard Library, so it should be portable (tested on Windows and Ubuntu).
* Fast and has a small memory footprint, especially if custom allocators are used and warnings and errors are disabled.
* Provides a very simple, user-friendly interface.## Basic Usage
### Library
Simply drop `simple_ini_reader.h` into your source folder and add the following to one of your C/C++ files:
```
#define SIMPLE_INI_READER_IMPLEMENTATION
#include "simple_ini_reader.h"
```
`simple_ini_reader.h` has basic documentation commented at the top of the file. For more detailed examples check the [samples](samples/) folder.### Utility
The source code for the command-line utility is located in [util](util/). See the README file in that folder for more infomation.
## Contact
You can send feedback to [[email protected]](mailto:[email protected])