Click here to Skip to main content
15,917,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 0:00
ThatsAlok26-Oct-05 0:00 
GeneralRe: prime number with recursion Pin
toxcct26-Oct-05 0:08
toxcct26-Oct-05 0:08 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 23:54
ThatsAlok26-Oct-05 23:54 
GeneralRe: prime number with recursion Pin
Eytukan26-Oct-05 1:45
Eytukan26-Oct-05 1:45 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 23:44
ThatsAlok26-Oct-05 23:44 
AnswerRe: prime number with recursion Pin
sunit526-Oct-05 0:46
sunit526-Oct-05 0:46 
Questionwhats the best way to read ini files Pin
Chintoo72325-Oct-05 19:41
Chintoo72325-Oct-05 19:41 
AnswerRe: whats the best way to read ini files Pin
ThatsAlok26-Oct-05 0:55
ThatsAlok26-Oct-05 0:55 
Lambu Jindu wrote:
whats the best way to read ini files and store the input configuration for a program in a class that will be used throughout the program. I want to have a STL map for each section, and read the name/value pairs in each section into the map. Is this a good way to keep the configuration? What are the other general approaches people follow in keeping the config in memory?


Yeah thats the good way! till you ini file info doesn't change between execution of program!


Lambu Jindu wrote:
Does each call to GetPrivateProfile* parse the INI file again? Is this why they take the INI file name as a paramet

Yeap, you are thinking in right way! it reparse the ini file every time it call it!

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
AnswerRe: whats the best way to read ini files Pin
David Crow26-Oct-05 3:16
David Crow26-Oct-05 3:16 
GeneralRe: whats the best way to read ini files Pin
John R. Shaw26-Oct-05 16:48
John R. Shaw26-Oct-05 16:48 
QuestionIntensity problem Pin
Arrun25-Oct-05 19:12
Arrun25-Oct-05 19:12 
AnswerRe: Intensity problem Pin
Christian Graus25-Oct-05 19:22
protectorChristian Graus25-Oct-05 19:22 
GeneralRe: Intensity problem Pin
Arrun25-Oct-05 19:48
Arrun25-Oct-05 19:48 
GeneralRe: Intensity problem Pin
Christian Graus25-Oct-05 20:06
protectorChristian Graus25-Oct-05 20:06 
GeneralRe: Intensity problem Pin
Arrun25-Oct-05 21:07
Arrun25-Oct-05 21:07 
GeneralRe: Intensity problem Pin
Christian Graus26-Oct-05 10:22
protectorChristian Graus26-Oct-05 10:22 
QuestionHow to add more document templates in MDI Pin
shivditya25-Oct-05 17:38
shivditya25-Oct-05 17:38 
AnswerRe: How to add more document templates in MDI Pin
shivditya25-Oct-05 19:11
shivditya25-Oct-05 19:11 
Generalhi shivditya Pin
vikas amin25-Oct-05 19:44
vikas amin25-Oct-05 19:44 
GeneralRe: hi shivditya Pin
shivditya25-Oct-05 19:55
shivditya25-Oct-05 19:55 
Questionmonolithic form classes (repost from "General Discussions") Pin
OlliesDad25-Oct-05 14:53
OlliesDad25-Oct-05 14:53 
AnswerRe: monolithic form classes (repost from "General Discussions") Pin
Christian Graus25-Oct-05 14:57
protectorChristian Graus25-Oct-05 14:57 
GeneralRe: monolithic form classes (repost from "General Discussions") Pin
OlliesDad25-Oct-05 19:29
OlliesDad25-Oct-05 19:29 
QuestionNew Help Needed Check previous post Pin
Tom Moore25-Oct-05 13:40
Tom Moore25-Oct-05 13:40 
AnswerRe: New Help Needed Check previous post Pin
Christian Graus25-Oct-05 14:05
protectorChristian Graus25-Oct-05 14:05 

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.