Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: inheritance question Pin
Niklas L22-Jul-10 6:03
Niklas L22-Jul-10 6:03 
GeneralRe: inheritance question Pin
Moak22-Jul-10 14:30
Moak22-Jul-10 14:30 
GeneralRe: inheritance question Pin
Aescleal22-Jul-10 20:15
Aescleal22-Jul-10 20:15 
GeneralRe: inheritance question Pin
Moak23-Jul-10 0:25
Moak23-Jul-10 0:25 
GeneralRe: inheritance question Pin
Niklas L22-Jul-10 22:44
Niklas L22-Jul-10 22:44 
GeneralRe: inheritance question Pin
Aescleal22-Jul-10 20:17
Aescleal22-Jul-10 20:17 
GeneralRe: inheritance question Pin
Niklas L22-Jul-10 23:11
Niklas L22-Jul-10 23:11 
GeneralRe: inheritance question Pin
Aescleal23-Jul-10 4:13
Aescleal23-Jul-10 4:13 
The only time you can't rewrite a base class is when you haven't got the code for it. The rest of the reasons are all social.

Just out of interest anything you can do with inheritance (of concrete base classes) in the context of code generation you could a lot more cleanly do with composition. MFC, as one example, wouldn't be such a mess of deriving from concrete classes if they'd have done that. However there wasn't the C++ expertise around in 1991 that there is now so you can't blame them in hindsight.

Cheers,

Ash
GeneralRe: inheritance question Pin
Niklas L23-Jul-10 11:36
Niklas L23-Jul-10 11:36 
GeneralRe: inheritance question Pin
Aescleal23-Jul-10 19:36
Aescleal23-Jul-10 19:36 
Questionhow to play audio and video Pin
MKC00222-Jul-10 3:11
MKC00222-Jul-10 3:11 
AnswerRe: how to play audio and video Pin
Cool_Dev22-Jul-10 3:19
Cool_Dev22-Jul-10 3:19 
GeneralRe: how to play audio and video Pin
MKC00222-Jul-10 23:18
MKC00222-Jul-10 23:18 
GeneralRe: how to play audio and video Pin
Cool_Dev3-Aug-10 2:24
Cool_Dev3-Aug-10 2:24 
QuestionMaking a driver WITHOUT wdf [Solved myself!] Pin
Iain Clarke, Warrior Programmer22-Jul-10 2:51
Iain Clarke, Warrior Programmer22-Jul-10 2:51 
QuestionPrintPreview in MFC SDI Application Pin
tony_Udz21-Jul-10 23:05
tony_Udz21-Jul-10 23:05 
AnswerRe: PrintPreview in MFC SDI Application Pin
ErnestoNet22-Jul-10 7:23
ErnestoNet22-Jul-10 7:23 
GeneralRe: PrintPreview in MFC SDI Application Pin
tony_Udz22-Jul-10 18:54
tony_Udz22-Jul-10 18:54 
GeneralRe: PrintPreview in MFC SDI Application Pin
ErnestoNet23-Jul-10 2:19
ErnestoNet23-Jul-10 2:19 
QuestionWrapper Class Pin
Benjamin Bruno21-Jul-10 22:39
Benjamin Bruno21-Jul-10 22:39 
AnswerRe: Wrapper Class Pin
Sauro Viti21-Jul-10 22:44
professionalSauro Viti21-Jul-10 22:44 
AnswerRe: Wrapper Class Pin
Niklas L21-Jul-10 23:01
Niklas L21-Jul-10 23:01 
AnswerRe: Wrapper Class Pin
«_Superman_»21-Jul-10 23:12
professional«_Superman_»21-Jul-10 23:12 
AnswerRe: Wrapper Class Pin
Aescleal21-Jul-10 23:13
Aescleal21-Jul-10 23:13 
Questionswap two values withou using temp. storage Pin
lgmanuel21-Jul-10 20:10
lgmanuel21-Jul-10 20:10 

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.