<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LC++]Config files</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; I'm making a program where I need a config file. Now, I'm hardly the </FONT>
<BR><FONT SIZE=2>&gt; first to do that, so I was wondering if there is some </FONT>
<BR><FONT SIZE=2>&gt; intelligent way of </FONT>
<BR><FONT SIZE=2>&gt; dealing with this, or should I simple make text file, and </FONT>
<BR><FONT SIZE=2>&gt; start reading?</FONT>
</P>

<P><FONT SIZE=2>Might be overkill, but <A HREF="http://www.tecgraf.puc-rio.br/lua/" TARGET="_blank">http://www.tecgraf.puc-rio.br/lua/</A></FONT>
</P>

<P><FONT SIZE=2>Otherwise, if the format is simple, a la &quot;foo=bar&quot;, two strtok</FONT>
<BR><FONT SIZE=2>calls with separators of newline and '=' should do it.</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>

</BODY>
</HTML>