Click here to Skip to main content
15,905,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorting items, specifying multiple parameters Pin
Chris Losinger23-Feb-06 11:17
professionalChris Losinger23-Feb-06 11:17 
AnswerRe: Sorting items, specifying multiple parameters Pin
Stephen Hewitt23-Feb-06 11:20
Stephen Hewitt23-Feb-06 11:20 
GeneralRe: Sorting items, specifying multiple parameters Pin
Gunn31728-Feb-06 2:40
Gunn31728-Feb-06 2:40 
QuestionVisual Studio 6.0 with other compliers Pin
softwaremonkey23-Feb-06 8:21
softwaremonkey23-Feb-06 8:21 
AnswerRe: Visual Studio 6.0 with other compliers Pin
basementman23-Feb-06 8:34
basementman23-Feb-06 8:34 
GeneralRe: Visual Studio 6.0 with other compliers Pin
softwaremonkey23-Feb-06 8:36
softwaremonkey23-Feb-06 8:36 
Questiondevice notification Pin
Manu_8123-Feb-06 7:19
Manu_8123-Feb-06 7:19 
AnswerRe: device notification Pin
David Crow23-Feb-06 8:22
David Crow23-Feb-06 8:22 
QuestionVoice chat using VC++ Pin
gaurav_dixit23-Feb-06 7:05
gaurav_dixit23-Feb-06 7:05 
AnswerRe: Voice chat using VC++ Pin
J512198223-Feb-06 23:53
J512198223-Feb-06 23:53 
QuestionHow to know that I m connected to remote socket or not ? Pin
zinc_z23-Feb-06 6:47
zinc_z23-Feb-06 6:47 
Questionpreview file/directory deletion Pin
Chintoo72323-Feb-06 6:31
Chintoo72323-Feb-06 6:31 
AnswerRe: preview file/directory deletion Pin
peterchen23-Feb-06 6:39
peterchen23-Feb-06 6:39 
QuestionRepaint Problem Pin
Deviantizh23-Feb-06 6:17
Deviantizh23-Feb-06 6:17 
AnswerRe: Repaint Problem Pin
peterchen23-Feb-06 6:30
peterchen23-Feb-06 6:30 
QuestionRe: Repaint Problem Pin
Deviantizh23-Feb-06 7:05
Deviantizh23-Feb-06 7:05 
AnswerRe: Repaint Problem Pin
peterchen23-Feb-06 10:35
peterchen23-Feb-06 10:35 
QuestionCode-Generation options Pin
Themis23-Feb-06 5:37
Themis23-Feb-06 5:37 
AnswerRe: Code-Generation options Pin
peterchen23-Feb-06 6:36
peterchen23-Feb-06 6:36 
GeneralRe: Code-Generation options Pin
Mike Dimmick23-Feb-06 7:41
Mike Dimmick23-Feb-06 7:41 
Questionc vs. visual c++ Pin
pplshero5423-Feb-06 5:34
pplshero5423-Feb-06 5:34 
AnswerRe: c vs. visual c++ Pin
toxcct23-Feb-06 5:57
toxcct23-Feb-06 5:57 
AnswerRe: c vs. visual c++ Pin
David Crow23-Feb-06 5:58
David Crow23-Feb-06 5:58 
AnswerRe: c vs. visual c++ Pin
James R. Twine23-Feb-06 6:37
James R. Twine23-Feb-06 6:37 
   This was somewhat true in the early days of C++, when it was basically implemented as a preprocessor that turned C++ code into (sometimes not very good) C code and fed it to a C compiler/linker.

   These days, C++ compilers do C++ natively, and have extensive optimization algorithms designed to squeeze the very best out of the code, some optimizations being specific to C++ like (N)RVO.

   I would guess a decent C++ compiler can create optimized code that is on par with a decent C compiler.  Of course, it all depends on what the code is doing.  I would not expect much difference if you took some real-world C code, compiled and optimized it with a straight C compiler and did the same with a C++ compiler suite.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
AnswerRe: c vs. visual c++ Pin
Chris Losinger23-Feb-06 8:35
professionalChris Losinger23-Feb-06 8:35 

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.