Glib::KeyFile Question



Hello everyone.
Here's a question:
I need to store records which contain 3 fields, a name and two numbers.
Names may have spaces. I need to do it using Glib::KeyFile (I can't use
database APIs or engines and I can't link to any XML library etc).
What would be the best way to do it usign Glib::KeyFile?

Which of the following is possible in Glib::KeyFile?

Example#1:
Record1=Name of the record;10;20
Record2=Another Name;30;40

Example#2:
Name of the record=10;20
Another Name=30;40

Any other suggestions on how to store it using Glib::KeyFile?

I'll be glad to hear your comments.
Thanks in advance for your answers.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]