Click here to Skip to main content
15,916,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the big-ending and little-ending Pin
Sarath C15-Apr-13 7:09
Sarath C15-Apr-13 7:09 
QuestionHandling Cdialog's in a App. Pin
Donguy197612-Apr-13 16:50
Donguy197612-Apr-13 16:50 
AnswerRe: Handling Cdialog's in a App. Pin
Richard MacCutchan12-Apr-13 22:07
mveRichard MacCutchan12-Apr-13 22:07 
SuggestionRe: Handling Cdialog's in a App. Pin
David Crow13-Apr-13 15:30
David Crow13-Apr-13 15:30 
GeneralRe: Handling Cdialog's in a App. Pin
H.Brydon15-Apr-13 18:02
professionalH.Brydon15-Apr-13 18:02 
QuestionOutlook MSG files Pin
Joe Woodbury12-Apr-13 7:26
professionalJoe Woodbury12-Apr-13 7:26 
QuestionRe: Outlook MSG files Pin
David Crow13-Apr-13 15:32
David Crow13-Apr-13 15:32 
AnswerRe: Outlook MSG files Pin
Joe Woodbury13-Apr-13 15:56
professionalJoe Woodbury13-Apr-13 15:56 
QuestionDetecting when a file copy is complete Pin
Charles Blessing12-Apr-13 5:17
Charles Blessing12-Apr-13 5:17 
QuestionRe: Detecting when a file copy is complete Pin
David Crow12-Apr-13 5:22
David Crow12-Apr-13 5:22 
AnswerRe: Detecting when a file copy is complete Pin
Joe Woodbury12-Apr-13 8:08
professionalJoe Woodbury12-Apr-13 8:08 
GeneralRe: Detecting when a file copy is complete Pin
H.Brydon12-Apr-13 11:39
professionalH.Brydon12-Apr-13 11:39 
QuestionGet all window hadles Pin
Donguy197612-Apr-13 5:06
Donguy197612-Apr-13 5:06 
SuggestionRe: Get all window hadles Pin
David Crow12-Apr-13 5:17
David Crow12-Apr-13 5:17 
GeneralRe: Get all window hadles Pin
Donguy197612-Apr-13 10:22
Donguy197612-Apr-13 10:22 
GeneralRe: Get all window hadles Pin
ITboy_Lemon13-Apr-13 5:59
professionalITboy_Lemon13-Apr-13 5:59 
QuestionIs it a good practice to use continue Pin
Argonia12-Apr-13 0:27
professionalArgonia12-Apr-13 0:27 
AnswerRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 0:49
Erudite_Eric12-Apr-13 0:49 
AnswerRe: Is it a good practice to use continue Pin
pasztorpisti12-Apr-13 2:04
pasztorpisti12-Apr-13 2:04 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 2:42
Erudite_Eric12-Apr-13 2:42 
GeneralRe: Is it a good practice to use continue Pin
pasztorpisti12-Apr-13 6:05
pasztorpisti12-Apr-13 6:05 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric16-Apr-13 4:56
Erudite_Eric16-Apr-13 4:56 
GeneralRe: Is it a good practice to use continue Pin
Stefan_Lang18-Apr-13 20:50
Stefan_Lang18-Apr-13 20:50 
I have no doubt a good programmer can write good programs with any syntax element of any language, but that doesn't mean that everyone should! Even the best program deterioates over time. Of all elements of the C/C++ language, goto is the one with the biggest potential for abuse, and the biggest potential for misinterpreting its intended use when maintaining the code. Therefore, even if you're the worlds best programmer, you should never deliberately use goto without a very good reason, and only if the existing alternatives would present a bigger potential for maintenance problems in the future.

You might argue that for throwaway code that you know is going to be ditched within a couple of months there is really no risk, but some of the most long-lived tools were originally designed as throwaway code. Even if the program as a whole gets thrown away, parts of it may be reused elsewhere. We are in an age of VCSs and code reuse; you can't take back code: once you've written it it can not be unwritten!
AnswerRe: Is it a good practice to use continue Pin
CPallini12-Apr-13 3:15
mveCPallini12-Apr-13 3:15 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 3:21
Erudite_Eric12-Apr-13 3:21 

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.