Giter Site home page Giter Site logo

dujingning / inicpp Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 2.0 74 KB

The INI header-only library for Modern C++ supports reading and writing, even writing comments. It is cross-platform and can be used on multiple operating systems.

License: MIT License

C++ 99.73% Makefile 0.27%
cpp ini ini-parser parser parser-library inicpp hpp hpp-only header-only cross-platform-library

inicpp's People

Contributors

dujingning avatar kumonda221-cro3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inicpp's Issues

如果ini文件不存在,库似乎不会有错误提示

感谢dujingning提供这样一个纯head文件的ini库。经过试用,发现正常读取功能运行良好。但若预设路径的ini文件不存在或存在错误时,程序并不会输出错误提示,且在数据缺失时尝试转换为int类型会默认输出0(这可能取决于作者的定义)。这种情况下,如果开发者没有注意到并且没有进行错误处理,可能会在使用该库的程序中引发一些预料之外的错误。

Thank you to dujingning for providing such a pure header file for the ini library. Upon testing, it was found that the normal reading functionality works well. However, when the ini file specified in the preset path does not exist or contains errors, the program does not output an error message. Additionally, when data is missing, attempting to convert it to an int type defaults to outputting 0 (which may depend on the author's definition). In such cases, if developers do not notice this and do not perform error handling, it may lead to unexpected errors in programs using this library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.