Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    2
  • comments
    0
  • views
    2355

Awesome INI Loader C++ Library Launches

Sign in to follow this  
ajm113

916 views

Hello everyone! I would like to introduce my INI library parser. I wrote from scratch and would like to thank the community for their help, writing this library. So whats so good about this library?

  • Lightweight small memory footprint.
  • Easy to modify
  • BSD License
  • Pure C++ mixed with C. (Easy to port)
  • Multiplatform
  • Easy to use error handling system.
  • One pointer does all.
  • Easy to setup with any project.
  • Easy to customize to your project needs. (Want to use "#" for comments? Change separator? Edit one line of code!)

    Im really looking for some testers and input to make this project better for everyone for any application big and small!

    Example code:#include "awesome_ini.h"int _tmain(int argc, _TCHAR* argv[]){ awesome_ini* myIni = new awesome_ini("test.ini"); AWESOME_ERROR_CODES r = myIni->getError(); size_t l = myIni->getErrorLine(); if (r == AWESOME_ERROR_NONE) { printf("Loaded ini!\n"); } else { printf("Failed! %i %i\n", r, l); } char value[AWI_MAX_VALUE_NAME_LENGTH]; AWESOME_INI_KEY_TYPE t = myIni->getKey(value, "test", "hello"); printf("Variable Type: %i - Variable Value: %s\n", t, value); getchar(); return 0;}
    If anyone has any questions or would like to help port this library to other languages let me know! smile.png

    http://sourceforge.net/projects/awesomeiniloader/

    Thank you!

    ajm113
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!