Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get selected file name prgramatically Pin
sashoalm5-Nov-08 0:10
sashoalm5-Nov-08 0:10 
GeneralRe: How to get selected file name prgramatically Pin
SNI5-Nov-08 17:57
SNI5-Nov-08 17:57 
GeneralRe: How to get selected file name prgramatically Pin
sashoalm6-Nov-08 3:19
sashoalm6-Nov-08 3:19 
QuestionERROR in _stricmp ..... prevent duplicate section names [modified] Pin
anna mathew4-Nov-08 21:25
anna mathew4-Nov-08 21:25 
AnswerRe: ERROR in _stricmp ..... prevent duplicate section names Pin
Cedric Moonen4-Nov-08 21:31
Cedric Moonen4-Nov-08 21:31 
AnswerRe: ERROR in _stricmp ..... prevent duplicate section names Pin
CPallini4-Nov-08 22:02
mveCPallini4-Nov-08 22:02 
GeneralRe: ERROR in _stricmp ..... prevent duplicate section names Pin
anna mathew4-Nov-08 22:25
anna mathew4-Nov-08 22:25 
GeneralRe: ERROR in _stricmp ..... prevent duplicate section names Pin
CPallini4-Nov-08 22:32
mveCPallini4-Nov-08 22:32 
Well, the break statement hides the logic flaw, giving actually the correct result. Anyway, if you move the inizialization cmpflag=0; outside the while loop and don't use the break statement, your code will still work fine, but is somewhat inefficient.
YOu should note that you're searching for a matching entry and if you find it, no matter how many different entries there are, cmpflag should remain 1.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionThreads in C++ Pin
yamaki3084-Nov-08 21:12
yamaki3084-Nov-08 21:12 
QuestionRe: Threads in C++ Pin
sashoalm4-Nov-08 23:35
sashoalm4-Nov-08 23:35 
AnswerRe: Threads in C++ Pin
yamaki3085-Nov-08 11:49
yamaki3085-Nov-08 11:49 
QuestionRe: Threads in C++ Pin
sashoalm6-Nov-08 7:55
sashoalm6-Nov-08 7:55 
QuestionHausdorff-Based Image Comparison Pin
kaushal kishore sharma4-Nov-08 21:09
kaushal kishore sharma4-Nov-08 21:09 
AnswerRe: Hausdorff-Based Image Comparison Pin
SandipG 4-Nov-08 21:12
SandipG 4-Nov-08 21:12 
QuestionWrite Text Pin
MsmVc4-Nov-08 21:03
MsmVc4-Nov-08 21:03 
AnswerRe: Write Text Pin
SandipG 4-Nov-08 21:10
SandipG 4-Nov-08 21:10 
QuestionReading data from a csv file in MFC c++ and displaying in excel format Pin
SeshaSridhar4-Nov-08 19:40
SeshaSridhar4-Nov-08 19:40 
AnswerRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
Saurabh.Garg4-Nov-08 19:58
Saurabh.Garg4-Nov-08 19:58 
AnswerRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
SeshaSridhar4-Nov-08 20:17
SeshaSridhar4-Nov-08 20:17 
GeneralRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
Hamid_RT4-Nov-08 20:37
Hamid_RT4-Nov-08 20:37 
AnswerRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
ThatsAlok4-Nov-08 20:02
ThatsAlok4-Nov-08 20:02 
AnswerRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
Iain Clarke, Warrior Programmer5-Nov-08 1:12
Iain Clarke, Warrior Programmer5-Nov-08 1:12 
AnswerRe: Reading data from a csv file in MFC c++ and displaying in excel format Pin
David Crow5-Nov-08 3:04
David Crow5-Nov-08 3:04 
QuestionHow to read .xml file in MFC? Pin
AnithaSubramani4-Nov-08 18:17
AnithaSubramani4-Nov-08 18:17 
AnswerRe: How to read .xml file in MFC? Pin
ThatsAlok4-Nov-08 18:30
ThatsAlok4-Nov-08 18:30 

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.