Hi Matías,
Thanks for your response, i will try tomorrow.
But my file is not like this :
[INFO]
test=yes
test=no
but like this :
[INFO]
blah bla here
blah blah there
blah blah again
Do you think it can be work with GLib.KeyFile ?
Nicolas.
2009/9/2 Nicolas mailto:c.r@wanadoo.fr>
using GLib;
public static void main(string[] args)
{
KeyFile kf = new KeyFile();
try {
kf.load_from_file("test.ini", KeyFileFlags.NONE);
stdout.printf("==> file0=%s\n",
kf.get_value("LastFiles", "file0"));
} catch (FileErro
2009/9/2 Nicolas
> Hi,
>
> I try to make a little program who read in a file and take only some
> informations (like an .ini file).
> My text file is like this:
>
> [INFO]
> blah
> blah blah
> blah blah blah
>
> Could someone tell me how to create this kind of function ?
>
>
You should use KeyFil
Hi,
I try to make a little program who read in a file and take only some
informations (like an .ini file).
My text file is like this:
[INFO]
blah
blah blah
blah blah blah
Could someone tell me how to create this kind of function ?
Thank you so much in advance,
Nicolas.