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

C / C++ / MFC

 
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 
AnswerRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 6:09
Cyon11126-Aug-08 6:09 
DavidCrow wrote:
So then why do you use it?


I have the feeling that I have to. I can't be the only one in a developer team who does not use inheritance. I guess it simply belongs to C++ and I have to accept it.


DavidCrow wrote:
That's not possible.


I was afraid of that!


DavidCrow wrote:
I doubt that.


Well, the Gunman project is smaller than you think and it's at the beginning. However, id Software programmed Quake 3 Arena without even using classes! Though, the newer game, Doom 3, has classes. I just had a look at it in order to learn how to use inheritance and well it's interesting. So far it seems that they only inherit classes and only 1 class at a time. Here is such a inheritance chain:

idAFEntity_WithAttachedHead -> idAFEntity_Gibbable -> idAFEntity_Base -> idAnimatedEntity -> idEntity -> idClass
QuestionRe: Makes inheritance C++ slower than C? Pin
David Crow26-Aug-08 6:37
David Crow26-Aug-08 6:37 
AnswerRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 8:35
Cyon11126-Aug-08 8:35 
QuestionRe: Makes inheritance C++ slower than C? Pin
David Crow26-Aug-08 8:59
David Crow26-Aug-08 8:59 
AnswerRe: Makes inheritance C++ slower than C? Pin
Cyon11126-Aug-08 9:21
Cyon11126-Aug-08 9:21 
GeneralRe: Makes inheritance C++ slower than C? Pin
David Crow26-Aug-08 10:22
David Crow26-Aug-08 10:22 
QuestionCopy concept(Urgent) Pin
polopo25-Aug-08 23:14
polopo25-Aug-08 23:14 
AnswerRe: Copy concept(Urgent) Pin
Nibu babu thomas25-Aug-08 23:24
Nibu babu thomas25-Aug-08 23:24 
GeneralRe: Copy concept(Urgent) Pin
polopo26-Aug-08 0:05
polopo26-Aug-08 0:05 
GeneralRe: Copy concept(Urgent) Pin
Sarath C26-Aug-08 0:20
Sarath C26-Aug-08 0:20 
GeneralRe: Copy concept(Urgent) Pin
polopo26-Aug-08 0:40
polopo26-Aug-08 0:40 
QuestionRe: Copy concept(Urgent) Pin
David Crow26-Aug-08 4:56
David Crow26-Aug-08 4:56 
QuestionMFC - Time control which display in 24 hour format Pin
Prasanth M V25-Aug-08 22:21
Prasanth M V25-Aug-08 22:21 
AnswerRe: MFC - Time control which display in 24 hour format Pin
Jijo.Raj25-Aug-08 22:38
Jijo.Raj25-Aug-08 22:38 
QuestionHow to decide a string is in RTF or Plain Text Pin
CodingLover25-Aug-08 20:46
CodingLover25-Aug-08 20:46 
QuestionRe: How to decide a string is in RTF or Plain Text Pin
Rajesh R Subramanian25-Aug-08 20:59
professionalRajesh R Subramanian25-Aug-08 20:59 
QuestionRe: How to decide a string is in RTF or Plain Text Pin
CodingLover25-Aug-08 22:23
CodingLover25-Aug-08 22:23 
AnswerRe: How to decide a string is in RTF or Plain Text Pin
Rajesh R Subramanian25-Aug-08 23:28
professionalRajesh R Subramanian25-Aug-08 23:28 

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.