Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI need to refer to the Microsoft’s non-conformance issues Pin
Anonymous13-Aug-03 3:22
Anonymous13-Aug-03 3:22 
GeneralRe: I need to refer to the Microsoft’s non-conformance issues Pin
Navin13-Aug-03 3:32
Navin13-Aug-03 3:32 
GeneralRe: I need to refer to the Microsoft’s non-conformance issues Pin
Serge Krynine13-Aug-03 3:46
Serge Krynine13-Aug-03 3:46 
GeneralRe: I need to refer to the Microsoft’s non-conformance issues Pin
Tim Smith13-Aug-03 3:50
Tim Smith13-Aug-03 3:50 
GeneralRe: I need to refer to the Microsoft’s non-conformance issues Pin
Serge Krynine13-Aug-03 3:54
Serge Krynine13-Aug-03 3:54 
Generalreading a text file Pin
VC++ Beginner13-Aug-03 2:28
VC++ Beginner13-Aug-03 2:28 
GeneralRe: reading a text file Pin
Anonymous13-Aug-03 2:52
Anonymous13-Aug-03 2:52 
GeneralRe: reading a text file Pin
Andrew Walker13-Aug-03 3:28
Andrew Walker13-Aug-03 3:28 
Sounds like you are looking for a setup file.

There are heaps of articles on CodeProject to do this. You could possibly try something like IOBind.

If you have to do it your way you could try (in no particular order)

1/ boost::spirit, which is a metatemplate parser
2/ lex or flex, which are parsers
3/ use something like Lua, which is a scripting language which lets you get / set variables from a script
4/ use an XML parser (assuming you really do want a setup file) - maybe tinyXML
5/ use raw STL, iostreams, strings and string::find()'s
6/ use STL with boost::regex



If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: reading a text file Pin
keegan13-Aug-03 3:34
keegan13-Aug-03 3:34 
GeneralRe: reading a text file Pin
David Crow13-Aug-03 5:36
David Crow13-Aug-03 5:36 
QuestionSendMessage??? Pin
_skidrow_vn_13-Aug-03 2:24
_skidrow_vn_13-Aug-03 2:24 
AnswerRe: SendMessage??? Pin
Florin Ochiana13-Aug-03 3:39
Florin Ochiana13-Aug-03 3:39 
GeneralRe: SendMessage??? Pin
jhwurmbach13-Aug-03 3:55
jhwurmbach13-Aug-03 3:55 
AnswerRe: SendMessage??? Pin
Navin13-Aug-03 3:44
Navin13-Aug-03 3:44 
Generalinitialization of code in CWinApp Pin
pdunn13-Aug-03 1:32
pdunn13-Aug-03 1:32 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 2:34
jhwurmbach13-Aug-03 2:34 
GeneralRe: initialization of code in CWinApp Pin
pdunn13-Aug-03 2:58
pdunn13-Aug-03 2:58 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 3:29
jhwurmbach13-Aug-03 3:29 
GeneralRe: initialization of code in CWinApp Pin
pdunn14-Aug-03 4:22
pdunn14-Aug-03 4:22 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach14-Aug-03 4:38
jhwurmbach14-Aug-03 4:38 
GeneralNetwork Discovery & Remote execute Pin
maranv13-Aug-03 0:06
maranv13-Aug-03 0:06 
GeneralRe: Network Discovery & Remote execute Pin
Steve S13-Aug-03 0:10
Steve S13-Aug-03 0:10 
GeneralRe: Network Discovery & Remote execute Pin
maranv17-Aug-03 16:05
maranv17-Aug-03 16:05 
GeneralRe: Network Discovery & Remote execute Pin
David Crow13-Aug-03 5:40
David Crow13-Aug-03 5:40 
GeneralStandalone in place CEdit - Thanks to all Pin
Neville Franks12-Aug-03 23:43
Neville Franks12-Aug-03 23:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.