Click here to Skip to main content
16,012,759 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handling Events with Webbrowser2 Control Pin
alex.barylski6-Feb-02 0:19
alex.barylski6-Feb-02 0:19 
GeneralAbout Exception in VC++ Pin
wabc5-Feb-02 20:29
wabc5-Feb-02 20:29 
GeneralRe: About Exception in VC++ Pin
Christian Graus5-Feb-02 20:40
protectorChristian Graus5-Feb-02 20:40 
GeneralRe: About Exception in VC++ Pin
Joaquín M López Muñoz5-Feb-02 21:29
Joaquín M López Muñoz5-Feb-02 21:29 
GeneralRe: About Exception in VC++ Pin
Christian Graus5-Feb-02 21:41
protectorChristian Graus5-Feb-02 21:41 
GeneralRe: About Exception in VC++ Pin
Joaquín M López Muñoz5-Feb-02 21:55
Joaquín M López Muñoz5-Feb-02 21:55 
GeneralRe: About Exception in VC++ Pin
John Clump5-Feb-02 20:55
John Clump5-Feb-02 20:55 
GeneralRe: About Exception in VC++ Pin
alex.barylski5-Feb-02 21:31
alex.barylski5-Feb-02 21:31 
I think what he means is (incase you were asking)
Exception handling was included in C++ because C style error checking is almost tedious and would cause confusion to the reader. If you checked the ret value on each function call that would compile into bulky slower code.
if(printf("hey") < NULL)
  AfxMessageBox("Error");


Exception handling requires extra type info, which I think is where the slower execution stuff comes in, the crapola is figured out at run time instead of at compile. So I agree with him there, yes it's slower, but I also thought it was the prefered method of error checking. It's the new way.

Besides if you can avoid testing the return on each function certainly this would out-weigh exception handling?

Have a day!!
Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralTricky NT Service Question Pin
Richard Ellis5-Feb-02 19:11
Richard Ellis5-Feb-02 19:11 
GeneralRe: Tricky NT Service Question Pin
Nish Nishant5-Feb-02 20:29
sitebuilderNish Nishant5-Feb-02 20:29 
GeneralRe: Tricky NT Service Question Pin
Michael Dunn5-Feb-02 20:30
sitebuilderMichael Dunn5-Feb-02 20:30 
GeneralRe: Tricky NT Service Question Pin
Andreas Saurwein6-Feb-02 0:27
Andreas Saurwein6-Feb-02 0:27 
GeneralRe: Tricky NT Service Question Pin
Richard Ellis6-Feb-02 18:57
Richard Ellis6-Feb-02 18:57 
QuestionWhat Message is issued? Pin
AnonymousBabe@usa.net5-Feb-02 16:16
AnonymousBabe@usa.net5-Feb-02 16:16 
AnswerRe: What Message is issued? Pin
Paul M Watt5-Feb-02 19:00
mentorPaul M Watt5-Feb-02 19:00 
Questionany other chinese programmer in USA ? Pin
hinasoft5-Feb-02 15:03
hinasoft5-Feb-02 15:03 
AnswerRe: any other chinese programmer in USA ? Pin
alex.barylski5-Feb-02 16:43
alex.barylski5-Feb-02 16:43 
GeneralRe: any other chinese programmer in USA ? Pin
AnonymousBabe@usa.net5-Feb-02 17:32
AnonymousBabe@usa.net5-Feb-02 17:32 
GeneralCaret and MDI View Pin
AnonymousBabe@usa.net5-Feb-02 14:15
AnonymousBabe@usa.net5-Feb-02 14:15 
GeneralSetting up CListView Properties Pin
Aaron Schaefer5-Feb-02 12:07
Aaron Schaefer5-Feb-02 12:07 
GeneralRe: Setting up CListView Properties Pin
Derek Waters5-Feb-02 12:17
Derek Waters5-Feb-02 12:17 
GeneralRe: Setting up CListView Properties Pin
Aaron Schaefer5-Feb-02 12:29
Aaron Schaefer5-Feb-02 12:29 
GeneralRe: Setting up CListView Properties Pin
Michael Dunn5-Feb-02 13:09
sitebuilderMichael Dunn5-Feb-02 13:09 
Generalchecking first char input be4 reading the rest Pin
5-Feb-02 10:18
suss5-Feb-02 10:18 
Generalhere is my code Pin
5-Feb-02 10:24
suss5-Feb-02 10:24 

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.