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

C / C++ / MFC

 
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 
if you are writing C code for windows platform then you can user __try, __leave and __finally combination to avoid goto.
http://msdn.microsoft.com/en-us/library/9xtt5hxz(v=vs.80).aspx[^]

the main reason to avoid goto is the the instruction set directly jumps to given location and hence you do not get the call stack once you have jumped to new location. It would be really difficult if you have to debug some code like this.

using conitnue is always acceptable it is very useful in certain scneraois when you want to skip some of the values and continue with rest of them for certain operation which is running in a for or while loop and this does not have issue like goto where callstack will be lost.
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 
AnswerRe: GetLastInputInfo getting system wide idle info Pin
jeron111-Apr-13 7:31
jeron111-Apr-13 7:31 
Question[VC++ and XAML] Keydown event bug for metro app programming Pin
Member 997974310-Apr-13 19:35
professionalMember 997974310-Apr-13 19:35 
GeneralRe: [VC++ and XAML] Keydown event bug for metro app programming Pin
enhzflep10-Apr-13 21:15
enhzflep10-Apr-13 21:15 
AnswerRe: [VC++ and XAML] Keydown event bug for metro app programming Pin
dusty_dex11-Apr-13 0:49
dusty_dex11-Apr-13 0:49 
Question"Creating variable" at runtime - message decoding Pin
HellMaster[cz]10-Apr-13 19:03
HellMaster[cz]10-Apr-13 19:03 
AnswerRe: "Creating variable" at runtime - message decoding Pin
Richard MacCutchan10-Apr-13 21:41
mveRichard MacCutchan10-Apr-13 21:41 
GeneralRe: "Creating variable" at runtime - message decoding Pin
HellMaster[cz]10-Apr-13 22:10
HellMaster[cz]10-Apr-13 22:10 
GeneralRe: "Creating variable" at runtime - message decoding Pin
Richard MacCutchan10-Apr-13 22:34
mveRichard MacCutchan10-Apr-13 22:34 
GeneralRe: "Creating variable" at runtime - message decoding Pin
HellMaster[cz]10-Apr-13 23:15
HellMaster[cz]10-Apr-13 23:15 
GeneralRe: "Creating variable" at runtime - message decoding Pin
Richard MacCutchan10-Apr-13 23:22
mveRichard MacCutchan10-Apr-13 23:22 
GeneralRe: "Creating variable" at runtime - message decoding Pin
HellMaster[cz]10-Apr-13 23:27
HellMaster[cz]10-Apr-13 23:27 

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.