This site is no longer active and is available for archival purposes only. Registration and login is disabled.

ini type file reader


ini type file reader

Postby BadBazza » Jul 29, 2002 @ 2:39pm

Hi,

I've looked through loadsa forums but to no avail.

I am about to write a C++ file reader to read text files which contain initialization and parameter info.

What I hope the file will look like is

[control]
orientation=landscape
sound=50
menu=1,4,3,5

I believe that most of you (programmers) will have used something like this in the past and I did not want to reinvent the wheel.

Can anybody offer some pointers to save me some time?

Thanks in advance
Bad
Lost....... Assumed Coding!
User avatar
BadBazza
pm Insider
 
Posts: 81
Joined: Sep 21, 2001 @ 6:26am
Location: Blackpool, UK


Postby Phantom » Jul 29, 2002 @ 2:56pm

Certainly. Jaap wrote an excellent ini file implementation for the Overloaded libraries. You're quite welcome to 'take a look at it'. It does use STL btw.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby BurningSheep » Jul 29, 2002 @ 3:08pm

meh, .ini files have been obsolete for 7 years now, i'd go for XML!
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby britcode » Jul 29, 2002 @ 3:12pm

what is the advantage of XML over ini?
britcode
 


Postby BadBazza » Jul 29, 2002 @ 3:22pm

Thanks for the rapid replies :)

Phantom: is STL ok on PPCs? Not used them before but am looking into them now.

BurningSheep: XML?

Thanks again
Bad
Lost....... Assumed Coding!
User avatar
BadBazza
pm Insider
 
Posts: 81
Joined: Sep 21, 2001 @ 6:26am
Location: Blackpool, UK


Postby BurningSheep » Jul 29, 2002 @ 3:45pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron