Giter Club home page Giter Club logo

Comments (5)

Rookfighter avatar Rookfighter commented on August 18, 2024

@UnrealKaraulov

Maybe you can present the contents of a ini-file which causes a crash, so it gets clearer, what your exact problem is.

from inifile-cpp.

UnrealKaraulov avatar UnrealKaraulov commented on August 18, 2024

@UnrealKaraulov

Maybe you can present the contents of a ini-file which causes a crash, so it gets clearer, what your exact problem is.

Missing keys in any input ini file.

from inifile-cpp.

UnrealKaraulov avatar UnrealKaraulov commented on August 18, 2024

Or bad value in ini file.

@Rookfighter author, if you provide ini file without possibility to manual edit.... For what you use ini file format? You can just use directly any binary format....:)

from inifile-cpp.

Rookfighter avatar Rookfighter commented on August 18, 2024

@UnrealKaraulov
Maybe you can present the contents of a ini-file which causes a crash, so it gets clearer, what your exact problem is.

Missing keys in any input ini file.

You can easily check the existance of a key the same way as you do for std::map (all the types in this library are derived from std::map).

from inifile-cpp.

Rookfighter avatar Rookfighter commented on August 18, 2024

Or bad value in ini file.

@Rookfighter author, if you provide ini file without possibility to manual edit.... For what you use ini file format? You can just use directly any binary format....:)

There are many use-cases, e.g. as machine interchange format, saving internal state or simply as configuration file. Now, there are two things here:

On one side you can edit ini files manually and read them with inifile-cpp, e.g. configuration files. However, this is an architectural question of your application and may not apply for you.

On the other side if this architectural paradigm does not apply for your use-case you can also simply fork this library and adjust it to your needs (it's MIT licensed after all). This library is just a few hundred lines so you could easily rewrite it anyways.

from inifile-cpp.

Related Issues (20)

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.