Click here to Skip to main content
15,886,095 members
Articles / Programming Languages / C

A C++ Config File Parser

Rate me:
Please Sign up or sign in to vote.
4.23/5 (14 votes)
16 May 2008LGPL31 min read 157.3K   3.7K   47  
An STL based C++ utility class to parse structured config files.
��<html>

<head>

<META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-16">

</head>

<body>

<pre>

<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>

Buildprotokoll</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>

<h3>Erstellen wurde gestartet: Projekt: "config", Konfiguration: "Debug|Win32"</h3>

</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Befehlszeilen</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Die tempor�re Datei "c:\lhome\dev\config\config\Debug\RSP00002E21602032.rsp" wird erstellt. Inhalt:
[
/Od /D &quot;WIN32&quot; /D &quot;_DEBUG&quot; /D &quot;_CONSOLE&quot; /D &quot;_UNICODE&quot; /D &quot;UNICODE&quot; /Gm /EHsc /RTC1 /MDd /Fo&quot;Debug\\&quot; /Fd&quot;Debug\vc80.pdb&quot; /W3 /c /Wp64 /ZI /TP .\main.cpp
]Erstellen der Befehlszeile "cl.exe @c:\lhome\dev\config\config\Debug\RSP00002E21602032.rsp /nologo /errorReport:prompt"Die tempor�re Datei "c:\lhome\dev\config\config\Debug\RSP00002F21602032.rsp" wird erstellt. Inhalt:
[
/OUT:&quot;C:\lhome\dev\config\Debug\config.exe&quot; /INCREMENTAL /MANIFEST /MANIFESTFILE:&quot;Debug\config.exe.intermediate.manifest&quot; /DEBUG /PDB:&quot;c:\lhome\dev\config\debug\config.pdb&quot; /SUBSYSTEM:CONSOLE /MACHINE:X86 kernel32.lib


&quot;.\debug\main.obj&quot;


&quot;.\debug\config.obj&quot;


&quot;.\debug\log.obj&quot;


&quot;.\Debug\config.exe.embed.manifest.res&quot;
]Erstellen der Befehlszeile "link.exe @c:\lhome\dev\config\config\Debug\RSP00002F21602032.rsp /NOLOGO /ERRORREPORT:PROMPT"Die tempor�re Datei "c:\lhome\dev\config\config\Debug\RSP00003021602032.rsp" wird erstellt. Inhalt:
[
/out:.\debug\config.exe.embed.manifest /notify_update /manifest


.\debug\config.exe.intermediate.manifest
]Erstellen der Befehlszeile "mt.exe @c:\lhome\dev\config\config\Debug\RSP00003021602032.rsp /nologo"Die tempor�re Datei "c:\lhome\dev\config\config\Debug\BAT00003121602032.bat" wird erstellt. Inhalt:
[
@echo, die Manifestressource wurde zuletzt um %TIME% am %DATE% aktualisiert &gt; .\debug\mt.dep
]Erstellen der Befehlszeile "c:\lhome\dev\config\config\Debug\BAT00003121602032.bat"</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Ausgabefenster</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Kompilieren...

main.cpp

Verkn�pfen...

Das Manifest wird eingebettet...

</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Ergebnisse</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Das Buildprotokoll wurde unter "file://c:\lhome\dev\config\config\Debug\BuildLog.htm" gespeichert.

config - 0 Fehler, 0 Warnung(en)

</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>

</font></table></body></html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions