Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Who calls main() Pin
Luc Pattyn14-May-11 3:12
sitebuilderLuc Pattyn14-May-11 3:12 
AnswerRe: Who calls main() Pin
bob1697214-May-11 3:21
bob1697214-May-11 3:21 
QuestionBasic C++ String Question Pin
AmbiguousName13-May-11 19:45
AmbiguousName13-May-11 19:45 
AnswerRe: Basic C++ String Question Pin
Graham Breach13-May-11 20:49
Graham Breach13-May-11 20:49 
GeneralRe: Basic C++ String Question Pin
Stefan_Lang16-May-11 3:15
Stefan_Lang16-May-11 3:15 
GeneralRe: Basic C++ String Question Pin
Craig Longman18-May-11 5:56
Craig Longman18-May-11 5:56 
GeneralRe: Basic C++ String Question Pin
Stefan_Lang18-May-11 6:05
Stefan_Lang18-May-11 6:05 
AnswerRe: Basic C++ String Question Pin
Stefan_Lang16-May-11 3:30
Stefan_Lang16-May-11 3:30 
I think there's some piece of information missing: Your code doesn't show a loop, or any other construct that loops through the characters in chr, and there's no point in displaying count before the end of that loop. Then in your request you suggest displaying 'name' within your if block, but there's no variable name, and if this should refer to chr, there is no point in displaying it fully for every value of i that you use in that if statement.

Unless your string chr will always be exactly "u" (i. e. a string of 1 character, which is 'u'), your question, taken literally, doesn't make much sense.

Besides, why do you want to get rid of that else statement?
QuestionHow create a GUI to allow screen capture? Pin
Member 296547113-May-11 11:29
Member 296547113-May-11 11:29 
QuestionRe: How create a GUI to allow screen capture? Pin
Albert Holguin13-May-11 11:48
professionalAlbert Holguin13-May-11 11:48 
AnswerRe: How create a GUI to allow screen capture? Pin
Member 296547113-May-11 12:06
Member 296547113-May-11 12:06 
QuestionRe: How create a GUI to allow screen capture? Pin
Mark Salsbery13-May-11 12:57
Mark Salsbery13-May-11 12:57 
AnswerRe: How create a GUI to allow screen capture? Pin
Member 296547113-May-11 13:43
Member 296547113-May-11 13:43 
GeneralRe: How create a GUI to allow screen capture? Pin
Amarnath S13-May-11 17:00
professionalAmarnath S13-May-11 17:00 
GeneralRe: How create a GUI to allow screen capture? Pin
Member 296547114-May-11 2:55
Member 296547114-May-11 2:55 
GeneralRe: How create a GUI to allow screen capture? [modified] Pin
Mark Salsbery14-May-11 6:34
Mark Salsbery14-May-11 6:34 
Questionred squiggly line - misspelt words Pin
si_6913-May-11 5:42
si_6913-May-11 5:42 
AnswerRe: red squiggly line - misspelt words Pin
Albert Holguin13-May-11 7:22
professionalAlbert Holguin13-May-11 7:22 
AnswerRe: red squiggly line - misspelt words Pin
Hans Dietrich13-May-11 13:09
mentorHans Dietrich13-May-11 13:09 
GeneralRe: red squiggly line - misspelt words Pin
Albert Holguin13-May-11 13:13
professionalAlbert Holguin13-May-11 13:13 
GeneralRe: red squiggly line - misspelt words Pin
Mark Salsbery13-May-11 14:03
Mark Salsbery13-May-11 14:03 
GeneralRe: red squiggly line - misspelt words Pin
Hans Dietrich13-May-11 20:09
mentorHans Dietrich13-May-11 20:09 
AnswerRe: red squiggly line - misspelt words Pin
Chris Losinger14-May-11 5:32
professionalChris Losinger14-May-11 5:32 
Questiondetect memory leak by _CrtDumpMemoryLeaks(); Pin
includeh1013-May-11 2:57
includeh1013-May-11 2:57 
AnswerRe: detect memory leak by _CrtDumpMemoryLeaks(); Pin
Albert Holguin13-May-11 4:47
professionalAlbert Holguin13-May-11 4:47 

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.