Click here to Skip to main content
15,888,401 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ win32 projects Pin
«_Superman_»7-Jul-09 2:21
professional«_Superman_»7-Jul-09 2:21 
GeneralRe: VC++ win32 projects Pin
Satish Pai7-Jul-09 2:24
Satish Pai7-Jul-09 2:24 
Questionwhen to use switch-case and when to use if-else Pin
pandit847-Jul-09 0:10
pandit847-Jul-09 0:10 
AnswerRe: when to use switch-case and when to use if-else Pin
Rajesh R Subramanian7-Jul-09 0:28
professionalRajesh R Subramanian7-Jul-09 0:28 
AnswerRe: when to use switch-case and when to use if-else Pin
Chandrasekharan P7-Jul-09 0:32
Chandrasekharan P7-Jul-09 0:32 
AnswerRe: when to use switch-case and when to use if-else Pin
chandu0047-Jul-09 0:33
chandu0047-Jul-09 0:33 
AnswerRe: when to use switch-case and when to use if-else Pin
Roger Stoltz7-Jul-09 0:33
Roger Stoltz7-Jul-09 0:33 
AnswerRe: when to use switch-case and when to use if-else Pin
_AnsHUMAN_ 7-Jul-09 0:36
_AnsHUMAN_ 7-Jul-09 0:36 
if there are only two state for a condition you can use ternary operator or if-else
For more than two and something that can be handled in a few if-else blocks you can use if-else
if there are a huge number of cases use switch-case
But if you are operating on strings if-else would be the choice as switch-case won't work Smile | :)

You need to google first, if you have "It's urgent please" mentioned in your question.
Wink | ;-) _AnShUmAn_

GeneralRe: when to use switch-case and when to use if-else Pin
pandit847-Jul-09 0:41
pandit847-Jul-09 0:41 
AnswerRe: when to use switch-case and when to use if-else Pin
Rozis7-Jul-09 2:09
Rozis7-Jul-09 2:09 
QuestionGenerating "msoult.h" from "msoutl.olb" using VS2005 Pin
eight6-Jul-09 22:25
eight6-Jul-09 22:25 
AnswerRe: Generating "msoult.h" from "msoutl.olb" using VS2005 Pin
Stuart Dootson6-Jul-09 23:11
professionalStuart Dootson6-Jul-09 23:11 
QuestionCString to char Pin
MsmVc6-Jul-09 22:01
MsmVc6-Jul-09 22:01 
AnswerRe: CString to char Pin
Cedric Moonen6-Jul-09 22:08
Cedric Moonen6-Jul-09 22:08 
GeneralRe: CString to char Pin
MsmVc6-Jul-09 22:17
MsmVc6-Jul-09 22:17 
GeneralRe: CString to char Pin
Rajesh R Subramanian6-Jul-09 22:21
professionalRajesh R Subramanian6-Jul-09 22:21 
GeneralRe: CString to char Pin
Cedric Moonen6-Jul-09 22:22
Cedric Moonen6-Jul-09 22:22 
GeneralRe: CString to char Pin
David Crow7-Jul-09 3:18
David Crow7-Jul-09 3:18 
GeneralRe: CString to char Pin
Michael Schubert7-Jul-09 3:35
Michael Schubert7-Jul-09 3:35 
GeneralRe: CString to char Pin
Rajesh R Subramanian7-Jul-09 7:38
professionalRajesh R Subramanian7-Jul-09 7:38 
AnswerRe: CString to char Pin
Rage6-Jul-09 22:09
professionalRage6-Jul-09 22:09 
AnswerRe: CString to char Pin
Rajesh R Subramanian6-Jul-09 22:11
professionalRajesh R Subramanian6-Jul-09 22:11 
GeneralRe: CString to char Pin
Cedric Moonen6-Jul-09 22:14
Cedric Moonen6-Jul-09 22:14 
GeneralRe: CString to char Pin
Rajesh R Subramanian6-Jul-09 22:20
professionalRajesh R Subramanian6-Jul-09 22:20 
QuestionRe: CString to char Pin
CPallini6-Jul-09 22:25
mveCPallini6-Jul-09 22:25 

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.