![]() ![]() It will parse files with Windows \r\n or with Linux \n line endings. Section names must have brackets around them, such as this, also values and sections must begin on a line without leading spaces. Load your ini file into a char array string and call this function to parse it. ![]() I wrote the function below, it is a single function that can parse INI files, hopefully others will find it useful.īuf to parse must be a NULL terminated string. I know this question is very old, but I came upon it because I needed something cross platform for linux, win32. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |