Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
nah133714-Jul-09 9:57
nah133714-Jul-09 9:57 
QuestionHEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
transoft12-Jul-09 8:27
transoft12-Jul-09 8:27 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Luc Pattyn12-Jul-09 8:36
sitebuilderLuc Pattyn12-Jul-09 8:36 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Stuart Dootson12-Jul-09 8:37
professionalStuart Dootson12-Jul-09 8:37 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Luc Pattyn12-Jul-09 9:58
sitebuilderLuc Pattyn12-Jul-09 9:58 
Questionvptr help? [modified] Pin
sam_psycho12-Jul-09 6:20
sam_psycho12-Jul-09 6:20 
AnswerRe: vptr help? Pin
Stuart Dootson12-Jul-09 8:08
professionalStuart Dootson12-Jul-09 8:08 
GeneralRe: vptr help? Pin
Graham Shanks12-Jul-09 8:36
Graham Shanks12-Jul-09 8:36 
Actually the code will (and does) compile. Note that base is inherited virtually (note the use of virtual public base in the declaration of class d2). This ensures that only one version of the base class will be included in d2

However, you are completely correct in that there is no vtable, and the output wil be base f1base f2.

Graham

Librarians rule, Ook!

GeneralRe: vptr help? Pin
Stuart Dootson12-Jul-09 8:46
professionalStuart Dootson12-Jul-09 8:46 
GeneralRe: vptr help? Pin
Graham Shanks12-Jul-09 8:56
Graham Shanks12-Jul-09 8:56 
GeneralRe: vptr help? Pin
Stuart Dootson12-Jul-09 9:02
professionalStuart Dootson12-Jul-09 9:02 
GeneralRe: vptr help? Pin
Joe Woodbury12-Jul-09 17:25
professionalJoe Woodbury12-Jul-09 17:25 
GeneralRe: vptr help? Pin
Joe Woodbury12-Jul-09 17:30
professionalJoe Woodbury12-Jul-09 17:30 
GeneralRe: vptr help? Pin
sam_psycho12-Jul-09 8:42
sam_psycho12-Jul-09 8:42 
GeneralRe: vptr help? Pin
Stuart Dootson12-Jul-09 8:59
professionalStuart Dootson12-Jul-09 8:59 
GeneralRe: vptr help? Pin
«_Superman_»12-Jul-09 16:52
professional«_Superman_»12-Jul-09 16:52 
QuestionNow playing in vc++ Pin
storyera_storyera12-Jul-09 4:51
storyera_storyera12-Jul-09 4:51 
Questionhow to drag a document to a listctrl from desktop for example (mfc) Pin
johnfafa12-Jul-09 2:26
johnfafa12-Jul-09 2:26 
AnswerRe: how to drag a document to a listctrl from desktop for example (mfc) Pin
Stuart Dootson12-Jul-09 5:23
professionalStuart Dootson12-Jul-09 5:23 
GeneralRe: how to drag a document to a listctrl from desktop for example (mfc) Pin
johnfafa12-Jul-09 22:02
johnfafa12-Jul-09 22:02 
GeneralRe: how to drag a document to a listctrl from desktop for example (mfc) Pin
Stuart Dootson12-Jul-09 22:08
professionalStuart Dootson12-Jul-09 22:08 
GeneralRe: how to drag a document to a listctrl from desktop for example (mfc) Pin
Stuart Dootson12-Jul-09 23:38
professionalStuart Dootson12-Jul-09 23:38 
Questionthe parent of exe files in windows Pin
zon_cpp11-Jul-09 22:33
zon_cpp11-Jul-09 22:33 
AnswerRe: the parent of exe files in windows Pin
Stuart Dootson11-Jul-09 23:48
professionalStuart Dootson11-Jul-09 23:48 
GeneralRe: the parent of exe files in windows Pin
zon_cpp12-Jul-09 0:04
zon_cpp12-Jul-09 0:04 

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.