Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionRe: Is it a good practice to use continue Pin
CPallini12-Apr-13 3:26
mveCPallini12-Apr-13 3:26 
AnswerRe: Is it a good practice to use continue Pin
Vaclav_12-Apr-13 4:48
Vaclav_12-Apr-13 4:48 
AnswerRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 4:57
Erudite_Eric12-Apr-13 4:57 
GeneralRe: Is it a good practice to use continue Pin
Richard MacCutchan12-Apr-13 5:01
mveRichard MacCutchan12-Apr-13 5:01 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric16-Apr-13 4:58
Erudite_Eric16-Apr-13 4:58 
GeneralRe: Is it a good practice to use continue Pin
Richard MacCutchan16-Apr-13 5:21
mveRichard MacCutchan16-Apr-13 5:21 
AnswerRe: Is it a good practice to use continue Pin
Stephen Hewitt12-Apr-13 3:46
Stephen Hewitt12-Apr-13 3:46 
AnswerRe: Is it a good practice to use continue Pin
H.Brydon12-Apr-13 11:48
professionalH.Brydon12-Apr-13 11:48 
GeneralRe: Is it a good practice to use continue Pin
shailesh9108212-Apr-13 22:27
shailesh9108212-Apr-13 22:27 
AnswerRe: Is it a good practice to use continue Pin
Stefan_Lang18-Apr-13 5:13
Stefan_Lang18-Apr-13 5:13 
QuestionBindToObject fails - DirectShow remote graph access Pin
Vaclav_11-Apr-13 8:27
Vaclav_11-Apr-13 8:27 
QuestionRe: BindToObject fails - DirectShow remote graph access Pin
Richard MacCutchan11-Apr-13 21:47
mveRichard MacCutchan11-Apr-13 21:47 
AnswerRe: BindToObject fails - DirectShow remote graph access Pin
Vaclav_12-Apr-13 4:32
Vaclav_12-Apr-13 4:32 
GeneralRe: BindToObject fails - DirectShow remote graph access Pin
Richard MacCutchan12-Apr-13 4:58
mveRichard MacCutchan12-Apr-13 4:58 
QuestionGetLastInputInfo getting system wide idle info Pin
Donguy197611-Apr-13 6:52
Donguy197611-Apr-13 6:52 

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.