Re: Configuration file parsing in C



Guillaume Dargaud <use_the_form_on_my_contact_page@xxxxxxxxxxxxxxxx> at
Freitag 13 Juni 2008 17:35:

2 - ini files are strictly Windows-only and discouraged
Ini files are by far not discouraged on linux, on the contrary, it's a
widely used format. For instance, the configuration of KDE / Qt
applications is almost always stored inside ini files.

I myself like ini-like files for two reasons: They a not far from shell
script and programming languages, which mostly assign values to variables
using the equation sign. It just feels "natural" ;)

Moreover it's a very easy format, for both reading and editing.

--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
.



Relevant Pages

  • Deployment - vdproj editor
    ... The format of vdproj files looks like good old ini files. ... any documentation that tells me what the line item options are? ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: changes to pdftexconfig.tex not having an effect
    ... The usual format ... building process will input a .ini files. ... These .ini files might contain the line "\input pdftexconfig", ...
    (comp.text.tex)
  • Re: INI file size limitation
    ... On some level you would have to say "Yes", it is the associated API ... inherently "limiting" in the INI format. ... The key feature of INI files is that they are supported as a separate ...
    (microsoft.public.vb.general.discussion)
  • Re: Registry replacement advice
    ... depending on OS), a la, INI files. ... usually a better choice than rolling 'ur own - XML, database, etc. ... AllUsers/AppData, others in the Registry, etc. ... replacement for INI files uses an XML format instead of Key/Value pairs, ...
    (microsoft.public.vb.general.discussion)
  • Re: GetPrivateProfileInt etc., maybe forgetting to close files?
    ... INI files new Setupapi functions for INF fies, such as SetupFindFirstLine, SetupGetIntField, SetupGetLineByIndex etc. ... If a data file has the same format as an INI file, then the data file also has the same format as an INF file. ...
    (microsoft.public.win32.programmer.kernel)