Hello there, is there a function in Linux that can handle the reading of an .ini file? Thanks.
jaepi
22
Practically a Master Poster
Recommended Answers
Jump to PostNot that I know of, but you could probably roll your own pretty easily. I know there are a lot of libraries people wrote on Google as well...
How complex is the INI file you want to read? (Does it stick to the simple
[this is a section header]
…
Jump to Post>>yeah, with that values. I'm still having a hard time figuring out because the ini file that I generated in windows is compose of wchar_t characters
Ohhh that is not very good. The sizeof(wchar_t) in Windows compilers is not the same as in *nix compilers. The last time I …
Jump to Postcheck this library out. http://code.jellycan.com/simpleini/
i've not used it; but the reports that i've come across are good.
and the license is non-viral (MIT)
All 9 Replies
Duoas
1,025
Postaholic
Featured Poster
jaepi
commented:
Can foretell posibilities. Tsk tsk
+2
jaepi
22
Practically a Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
jaepi
commented:
Lean Mean Detailed Info Producing Machine
+2
Duoas
1,025
Postaholic
Featured Poster
Salem
5,138
Posting Sage
jaepi
22
Practically a Master Poster
ithelp
757
Posting Virtuoso
Banned
vijayan121
1,152
Posting Virtuoso
jaepi
commented:
uh huh!
+2
jaepi
22
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.