Click here to Skip to main content
16,016,168 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
«_Superman_»13-Jul-09 16:52
professional«_Superman_»13-Jul-09 16:52 
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 
vptrs don't come into it - you have no virtual functions, so therefore there will be no vtable.

If the compiler was able to construct your base pointer obj (it can't because it inherits from base twice - which one should it upcast through?), there would be no runtime resolution of f1 and f2; they're non-virtual functions, so they will be resolved using the static type of obj, i.e. base. That means that the program (if it could compile) would output base f1base f2

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: vptr help? Pin
Graham Shanks12-Jul-09 8:36
Graham Shanks12-Jul-09 8:36 
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 

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.