Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Anti Keyboard Hooker Application Pin
Rajesh R Subramanian25-Aug-08 23:37
professionalRajesh R Subramanian25-Aug-08 23:37 
QuestionMakes inheritance C++ slower than C? Pin
Cyon11125-Aug-08 23:18
Cyon11125-Aug-08 23:18 
AnswerRe: Makes inheritance C++ slower than C? [modified] PinPopular
Jijo.Raj25-Aug-08 23:32
Jijo.Raj25-Aug-08 23:32 
GeneralRe: Makes inheritance C++ slower than C? Pin
Rajesh R Subramanian26-Aug-08 0:01
professionalRajesh R Subramanian26-Aug-08 0:01 
GeneralRe: Makes inheritance C++ slower than C? Pin
Jijo.Raj26-Aug-08 0:46
Jijo.Raj26-Aug-08 0:46 
AnswerRe: Makes inheritance C++ slower than C? Pin
Matthew Faithfull25-Aug-08 23:32
Matthew Faithfull25-Aug-08 23:32 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cyon11125-Aug-08 23:48
Cyon11125-Aug-08 23:48 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cedric Moonen25-Aug-08 23:58
Cedric Moonen25-Aug-08 23:58 
I think you are only looking at one side of the problem. Everything is not only about performances. Otherwise, why not write everything in assembler ? That's certainly in theory the most performant choice. In theory only because of course you loose a lot of features that help you write maintainable code, so you will probably introduce more bugs.
I know what you think about it because I had the same point of view when I learned that at school. I also thought that virtual functions were totally useless. Man, was I ever so wrong Big Grin | :-D . I think you need to play a lot with it to see that it can make your code much more readable. But you have to switch to the OO way of thinking which is quite difficult at the begining. Otherwise, why using C++ if you are merely doing C using the C++ syntax ?

Cédric Moonen
Software developer

Charting control [v1.5 - Updated]
OpenGL game tutorial in C++

GeneralRe: Makes inheritance C++ slower than C? Pin
Matthew Faithfull26-Aug-08 0:12
Matthew Faithfull26-Aug-08 0:12 
AnswerRe: Makes inheritance C++ slower than C? Pin
Cedric Moonen25-Aug-08 23:43
Cedric Moonen25-Aug-08 23:43 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 0:01
Cyon11126-Aug-08 0:01 
AnswerRe: Makes inheritance C++ slower than C? Pin
toxcct25-Aug-08 23:52
toxcct25-Aug-08 23:52 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 0:25
Cyon11126-Aug-08 0:25 
GeneralRe: Makes inheritance C++ slower than C? Pin
Rajesh R Subramanian26-Aug-08 0:34
professionalRajesh R Subramanian26-Aug-08 0:34 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 0:46
Cyon11126-Aug-08 0:46 
GeneralRe: Makes inheritance C++ slower than C? Pin
toxcct26-Aug-08 1:03
toxcct26-Aug-08 1:03 
JokeRe: Makes inheritance C++ slower than C? Pin
Rage26-Aug-08 3:19
professionalRage26-Aug-08 3:19 
GeneralRe: Makes inheritance C++ slower than C? Pin
toxcct26-Aug-08 3:23
toxcct26-Aug-08 3:23 
GeneralRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 3:27
Cyon11126-Aug-08 3:27 
GeneralRe: Makes inheritance C++ slower than C? Pin
toxcct26-Aug-08 3:31
toxcct26-Aug-08 3:31 
GeneralRe: Makes inheritance C++ slower than C? Pin
toxcct26-Aug-08 0:43
toxcct26-Aug-08 0:43 
GeneralRe: Makes inheritance C++ slower than C? Pin
Roger Stoltz26-Aug-08 1:16
Roger Stoltz26-Aug-08 1:16 
GeneralRe: Makes inheritance C++ slower than C? Pin
toxcct26-Aug-08 1:19
toxcct26-Aug-08 1:19 
GeneralRe: Makes inheritance C++ slower than C? Pin
Roger Stoltz26-Aug-08 1:22
Roger Stoltz26-Aug-08 1:22 
QuestionRe: Makes inheritance C++ slower than C? Pin
David Crow26-Aug-08 4:55
David Crow26-Aug-08 4:55 

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.