Click here to Skip to main content
15,886,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Choosing which information that Windows Vista's folder contents displayer is to display Pin
David Crow21-Mar-13 7:58
David Crow21-Mar-13 7:58 
GeneralRe: Choosing which information that Windows Vista's folder contents displayer is to display Pin
Anthony Appleyard21-Mar-13 11:05
Anthony Appleyard21-Mar-13 11:05 
GeneralRe: Choosing which information that Windows Vista's folder contents displayer is to display Pin
David Crow21-Mar-13 17:01
David Crow21-Mar-13 17:01 
QuestionRAII Theory Pin
Richard Andrew x6421-Mar-13 1:52
professionalRichard Andrew x6421-Mar-13 1:52 
AnswerRe: RAII Theory Pin
Stephen Hewitt21-Mar-13 6:41
Stephen Hewitt21-Mar-13 6:41 
AnswerRe: RAII Theory Pin
pasztorpisti22-Mar-13 3:41
pasztorpisti22-Mar-13 3:41 
GeneralRe: RAII Theory Pin
Stephen Hewitt22-Mar-13 21:17
Stephen Hewitt22-Mar-13 21:17 
GeneralRe: RAII Theory Pin
pasztorpisti23-Mar-13 1:06
pasztorpisti23-Mar-13 1:06 
In our current environment performance is pretty important so we compile our C++ code with exceptions turned off and the coding convention is totally avoiding the use of exceptions. Some say that compiling the code with exception handling can be -5 to -10% in performance depending on the compiler because of the boilerplate code generated. I think -5 to -10% is not so big waste in programs where performance is not extremely critical and in return you get a much cleaner code with exception handling because you don't have to return with some kind of error indicator value and you don't have to check this value after every function call. Unfortunately the use of exceptions in C++ is indeed not as pretty as in some other languages like C# and Java, it has some pitfalls so you have to make your choice whether to use them or not. I found a really nice discussion about this: C++ Exceptions: Pros and Cons[^]
GeneralRe: RAII Theory Pin
Stephen Hewitt24-Mar-13 8:27
Stephen Hewitt24-Mar-13 8:27 
GeneralRe: RAII Theory Pin
pasztorpisti24-Mar-13 8:44
pasztorpisti24-Mar-13 8:44 
GeneralRe: RAII Theory Pin
pasztorpisti24-Mar-13 8:52
pasztorpisti24-Mar-13 8:52 
QuestionFunction pointer Pin
Marco Bertschi21-Mar-13 0:10
protectorMarco Bertschi21-Mar-13 0:10 
AnswerRe: Function pointer Pin
Richard MacCutchan21-Mar-13 0:51
mveRichard MacCutchan21-Mar-13 0:51 
GeneralRe: Function pointer Pin
Marco Bertschi21-Mar-13 1:06
protectorMarco Bertschi21-Mar-13 1:06 
GeneralRe: Function pointer Pin
Richard Andrew x6421-Mar-13 1:57
professionalRichard Andrew x6421-Mar-13 1:57 
GeneralRe: Function pointer Pin
Marco Bertschi21-Mar-13 2:16
protectorMarco Bertschi21-Mar-13 2:16 
GeneralRe: Function pointer Pin
Freak3021-Mar-13 2:30
Freak3021-Mar-13 2:30 
GeneralRe: Function pointer Pin
Marco Bertschi21-Mar-13 2:36
protectorMarco Bertschi21-Mar-13 2:36 
GeneralRe: Function pointer Pin
dusty_dex21-Mar-13 4:21
dusty_dex21-Mar-13 4:21 
GeneralRe: Function pointer Pin
Richard MacCutchan21-Mar-13 3:28
mveRichard MacCutchan21-Mar-13 3:28 
QuestionProblem regarding to array in C++ Pin
achylast20-Mar-13 22:00
achylast20-Mar-13 22:00 
AnswerRe: Problem regarding to array in C++ Pin
Richard MacCutchan20-Mar-13 22:48
mveRichard MacCutchan20-Mar-13 22:48 
QuestionRe: Problem regarding to array in C++ Pin
achylast25-Mar-13 15:36
achylast25-Mar-13 15:36 
AnswerRe: Problem regarding to array in C++ Pin
Richard MacCutchan25-Mar-13 23:31
mveRichard MacCutchan25-Mar-13 23:31 
AnswerRe: Problem regarding to array in C++ Pin
Marco Bertschi21-Mar-13 0:12
protectorMarco Bertschi21-Mar-13 0:12 

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.