Click here to Skip to main content
16,006,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCannot create member variable of radio button... Pin
Mr.Freeze16-Dec-02 14:58
Mr.Freeze16-Dec-02 14:58 
GeneralRe: Cannot create member variable of radio button... Pin
Maximilien16-Dec-02 15:53
Maximilien16-Dec-02 15:53 
GeneralRe: Cannot create member variable of radio button... Pin
Mr.Freeze16-Dec-02 17:00
Mr.Freeze16-Dec-02 17:00 
GeneralRegistry API hooking! Pin
Nish Nishant16-Dec-02 13:05
sitebuilderNish Nishant16-Dec-02 13:05 
GeneralRe: Registry API hooking! Pin
Nick Parker16-Dec-02 16:34
protectorNick Parker16-Dec-02 16:34 
GeneralRe: Registry API hooking! Pin
Kannan Kalyanaraman16-Dec-02 20:18
Kannan Kalyanaraman16-Dec-02 20:18 
QuestionAre exceptions bad? Pin
clintsinger16-Dec-02 12:18
clintsinger16-Dec-02 12:18 
AnswerRe: Are exceptions bad? Pin
Taka Muraoka16-Dec-02 12:52
Taka Muraoka16-Dec-02 12:52 
The problem with checking error codes is that people don't do it. Throwing an exception *forces* your app to deal with them (or die a horrible death).

Exceptions incur overhead, yes, but they should be only used in exceptional cases i.e. for things that should never happen. For example, if you're opening a file you should handle the case where the file is not there. If it's a user opening a Word document, that's a reasonable situation and can be handled by a return code. But if the file *should* be there, that's an exception.

And ask your friend how they are not portable! They are.

Scott Meyers "Effective C++" books are always a good place to start for this kind of thing.



he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed)

Awasu v0.4a[^]: A free RSS reader with support for Code Project.

GeneralRe: Are exceptions bad? Pin
Tim Smith16-Dec-02 13:15
Tim Smith16-Dec-02 13:15 
GeneralRe: Are exceptions bad? Pin
Nemanja Trifunovic16-Dec-02 17:26
Nemanja Trifunovic16-Dec-02 17:26 
AnswerRe: Are exceptions bad? Pin
Tim Smith16-Dec-02 13:20
Tim Smith16-Dec-02 13:20 
AnswerRe: Are exceptions bad? Pin
Matt Gullett16-Dec-02 17:06
Matt Gullett16-Dec-02 17:06 
AnswerRe: Are exceptions bad? Pin
Alvaro Mendez16-Dec-02 17:09
Alvaro Mendez16-Dec-02 17:09 
AnswerRe: Are exceptions bad? Pin
Nemanja Trifunovic16-Dec-02 17:30
Nemanja Trifunovic16-Dec-02 17:30 
AnswerRe: Are exceptions bad? Pin
nde_plume16-Dec-02 17:33
nde_plume16-Dec-02 17:33 
AnswerRe: Are exceptions bad? Pin
Christian Graus16-Dec-02 20:49
protectorChristian Graus16-Dec-02 20:49 
GeneralRe: Are exceptions bad? Pin
Joe Woodbury17-Dec-02 12:17
professionalJoe Woodbury17-Dec-02 12:17 
GeneralRe: Are exceptions bad? Pin
Christian Graus17-Dec-02 12:29
protectorChristian Graus17-Dec-02 12:29 
GeneralRe: Are exceptions bad? Pin
Joe Woodbury17-Dec-02 12:46
professionalJoe Woodbury17-Dec-02 12:46 
GeneralRe: Are exceptions bad? Pin
Christian Graus17-Dec-02 12:59
protectorChristian Graus17-Dec-02 12:59 
GeneralRe: Are exceptions bad? Pin
Joe Woodbury17-Dec-02 16:45
professionalJoe Woodbury17-Dec-02 16:45 
GeneralRe: Are exceptions bad? Pin
Christian Graus18-Dec-02 18:00
protectorChristian Graus18-Dec-02 18:00 
GeneralRe: Are exceptions bad? Pin
Joe Woodbury19-Dec-02 5:17
professionalJoe Woodbury19-Dec-02 5:17 
GeneralFlicker free "glass" window Pin
HAB16-Dec-02 11:46
HAB16-Dec-02 11:46 
GeneralRe: Flicker free "glass" window Pin
Shog916-Dec-02 11:59
sitebuilderShog916-Dec-02 11:59 

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.