Skip to content

Commit d694557

Browse files
committed
fix links, fix langs
1 parent 74d2ca0 commit d694557

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
To use it, just give `ini_parse()` an INI file, and it will call a callback for every `name=value` pair parsed, giving you strings for the section, name, and value. It's done this way because it works well on low-memory embedded systems, but also because it makes for a KISS implementation.
44

5-
[Download inih now](http://code.google.com/p/inih/downloads/list), browse [the source](http://code.google.com/p/inih/source/browse/trunk/ini.c), or read about [how to use inih in a DRY style](http://blog.brush.co.nz/2009/08/xmacros/) with X-Macros.
5+
Download a release, browse the source, or read about [how to use inih in a DRY style](http://blog.brush.co.nz/2009/08/xmacros/) with X-Macros.
66

77

88
## Compile-time options ##
@@ -16,7 +16,7 @@ To use it, just give `ini_parse()` an INI file, and it will call a callback for
1616

1717
## Simple example in C ##
1818

19-
```
19+
```c
2020
#include <stdio.h>
2121
#include <stdlib.h>
2222
#include <string.h>
@@ -66,7 +66,7 @@ int main(int argc, char* argv[])
6666
6767
If you're into C++ and the STL, there is also an easy-to-use [INIReader class](http://code.google.com/p/inih/source/browse/trunk/cpp/INIReader.h) that stores values in a `map` and lets you `Get()` them:
6868
69-
```
69+
```cpp
7070
#include <iostream>
7171
#include "INIReader.h"
7272

0 commit comments

Comments
 (0)