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

C / C++ / MFC

 
QuestionAdding checkboxes to the multiple columns of CListCtrl Pin
Ashish Ranjan Mishra15-Jun-12 0:24
Ashish Ranjan Mishra15-Jun-12 0:24 
AnswerRe: Adding checkboxes to the multiple columns of CListCtrl Pin
_AnsHUMAN_ 15-Jun-12 1:18
_AnsHUMAN_ 15-Jun-12 1:18 
AnswerRe: Adding checkboxes to the multiple columns of CListCtrl Pin
_Flaviu15-Jun-12 18:17
_Flaviu15-Jun-12 18:17 
QuestionDifference between goto and function calls Pin
CodingLover14-Jun-12 19:37
CodingLover14-Jun-12 19:37 
AnswerRe: Difference between goto and function calls Pin
Eugen Podsypalnikov14-Jun-12 20:31
Eugen Podsypalnikov14-Jun-12 20:31 
AnswerRe: Difference between goto and function calls Pin
Erudite_Eric14-Jun-12 20:51
Erudite_Eric14-Jun-12 20:51 
AnswerRe: Difference between goto and function calls Pin
Richard MacCutchan14-Jun-12 21:53
mveRichard MacCutchan14-Jun-12 21:53 
GeneralRe: Difference between goto and function calls Pin
Erudite_Eric15-Jun-12 21:40
Erudite_Eric15-Jun-12 21:40 
This is pure dogma. Any code can be crap and hard to maintain and goto when used judiciously is perfectly OK.

For example:

C++
myfunc()
{
 do{
  if(!somefunc())
    continue;
  if(!someotherfunc())
    continue;

}while(0);
}


Is heavy when compared to:

C++
myfunc()
{
  if(!somefunc())
    goto end;
  if(!someotherfunc())
    goto end;

end:
}

==============================

Nothing to say.

GeneralRe: Difference between goto and function calls Pin
Richard MacCutchan15-Jun-12 22:29
mveRichard MacCutchan15-Jun-12 22:29 
GeneralBug in ATL/MFC 8.0 CString Pin
XmlSeeker14-Jun-12 19:19
XmlSeeker14-Jun-12 19:19 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Erudite_Eric14-Jun-12 20:54
Erudite_Eric14-Jun-12 20:54 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Eugen Podsypalnikov14-Jun-12 20:59
Eugen Podsypalnikov14-Jun-12 20:59 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
XmlSeeker16-Jun-12 7:18
XmlSeeker16-Jun-12 7:18 
QuestionError with dynamic_cast Pin
msr_codeproject12-Jun-12 20:14
msr_codeproject12-Jun-12 20:14 
AnswerRe: Error with dynamic_cast Pin
Richard MacCutchan12-Jun-12 21:59
mveRichard MacCutchan12-Jun-12 21:59 
GeneralRe: Error with dynamic_cast Pin
msr_codeproject12-Jun-12 22:47
msr_codeproject12-Jun-12 22:47 
AnswerRe: Error with dynamic_cast Pin
Erudite_Eric13-Jun-12 5:35
Erudite_Eric13-Jun-12 5:35 
AnswerRe: Error with dynamic_cast Pin
Iain Clarke, Warrior Programmer14-Jun-12 2:33
Iain Clarke, Warrior Programmer14-Jun-12 2:33 
GeneralRe: Error with dynamic_cast Pin
Richard MacCutchan14-Jun-12 4:10
mveRichard MacCutchan14-Jun-12 4:10 
GeneralRe: Error with dynamic_cast Pin
Iain Clarke, Warrior Programmer14-Jun-12 4:11
Iain Clarke, Warrior Programmer14-Jun-12 4:11 
GeneralRe: Error with dynamic_cast Pin
Richard MacCutchan14-Jun-12 4:23
mveRichard MacCutchan14-Jun-12 4:23 
QuestionGoogle Docs API Pin
.dan.g.12-Jun-12 17:54
professional.dan.g.12-Jun-12 17:54 
AnswerRe: Google Docs API Pin
Albert Holguin12-Jun-12 18:32
professionalAlbert Holguin12-Jun-12 18:32 
GeneralRe: Google Docs API Pin
.dan.g.13-Jun-12 18:11
professional.dan.g.13-Jun-12 18:11 
QuestionPorting MFC exe to ATL service and MFC GUI Pin
es196812-Jun-12 3:51
es196812-Jun-12 3:51 

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.