1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-01-17 22:22:53 +08:00

10 Commits

Author SHA1 Message Date
Jinqiang He
716cc04ca1 Update INIReader.cpp file
update to compatible solution to replace std::map::at, which is not available until c++11
2016-06-17 14:18:55 +08:00
Jinqiang He
159f2784dc Update INIReader.cpp file
added an validated solution to replace std::map::at method, which is not available until c++11.
2016-06-15 10:47:27 +08:00
Artem Shelest
ccd77e50db Make INIReader const correct. 2016-04-17 08:33:48 +03:00
Ben Hoyt
a67bf227c1 Add license and project link 2015-03-21 20:04:19 -04:00
benhoyt@gmail.com
02f386a0ff Issue 30: Change MakeKey separator from "." to "=" as section names/keys can contain dots (but not equals signs). 2014-08-19 16:18:42 +00:00
benhoyt@gmail.com
111c3ec086 Added GetReal() to parse a floating point number (double) in C++ INIReader interface.
See: http://blog.brush.co.nz/2009/02/inih/#comment-160441
2013-08-14 21:58:41 +00:00
benhoyt
ff894434f9 Issue 18: Fixed multi-line handling in C++ wrapper, per jeffhawke77. 2012-03-07 02:02:37 +00:00
benhoyt@gmail.com
9ec69b2a1d Added GetBoolean() to C++ API.
Used std::transform() to convert strings to lower instead of for loop.
2011-06-24 18:23:13 +00:00
benhoyt
232b1d01eb Fixed Issue 3: INIReader::GetInteger() was buggy because the scope of the string Get() returned was too temporary for how I was using it's c_str(). Thanks, dreamer.dead for the bug report.
Included <cstdlib> in INIReader.cpp to get strtol().
Make ini.h have extern "C" wrapper in it so it's easier to include from C++ code (gcc seemed to do this automagically, but MSVC not so much).
2009-09-30 09:10:38 +00:00
benhoyt
4d08274b35 Moved examples to their own examples/ dir.
Only define INI_ALLOW_MULTILINE if it's not already defined.
Added C++ INIReader class.
Moved license into LICENSE.txt, added README.txt.
Added unit tests and checked in baseline files.
Made line lengths < 80 chars.
2009-08-20 21:59:32 +00:00