Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFormView control sizing Pin
Manmohan2925-Aug-11 0:05
Manmohan2925-Aug-11 0:05 
GeneralRe: CFormView control sizing Pin
Rage25-Aug-11 0:11
professionalRage25-Aug-11 0:11 
QuestionAmbiguity of 'this' and 'member function' [modified] Pin
Dean Seo24-Aug-11 15:12
Dean Seo24-Aug-11 15:12 
AnswerRe: Ambiguity of 'this' and 'member function' Pin
xrg_soft@163.com24-Aug-11 19:32
xrg_soft@163.com24-Aug-11 19:32 
GeneralRe: Ambiguity of 'this' and 'member function' Pin
Dean Seo24-Aug-11 20:53
Dean Seo24-Aug-11 20:53 
GeneralRe: Ambiguity of 'this' and 'member function' Pin
xrg_soft@163.com24-Aug-11 21:42
xrg_soft@163.com24-Aug-11 21:42 
GeneralRe: Ambiguity of 'this' and 'member function' Pin
Dean Seo24-Aug-11 22:36
Dean Seo24-Aug-11 22:36 
AnswerRe: Ambiguity of 'this' and 'member function' Pin
CPallini24-Aug-11 21:34
mveCPallini24-Aug-11 21:34 
From "Diamond problem" at Wikipedia[^]:
C++ by default follows each inheritance path separately, so a D object would actually contain two separate A objects, and uses of A's members have to be properly qualified. If the inheritance from A to B and the inheritance from A to C are both marked "virtual" (for example, "class B : virtual public A"), C++ takes special care to only create one A object, and uses of A's members work correctly. If virtual inheritance and nonvirtual inheritance are mixed, there is a single virtual A and a nonvirtual A for each nonvirtual inheritance path to A. Please note that nonvirtual derivation of A in this case will be useless as direct access to any part of class A from class D will practically always end up with compile error.

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Ambiguity of 'this' and 'member function' Pin
Dean Seo24-Aug-11 22:37
Dean Seo24-Aug-11 22:37 
Questionfind task manager process Pin
trioum24-Aug-11 7:02
trioum24-Aug-11 7:02 
AnswerRe: find task manager process Pin
Code-o-mat24-Aug-11 7:19
Code-o-mat24-Aug-11 7:19 
GeneralRe: find task manager process Pin
Rage24-Aug-11 22:24
professionalRage24-Aug-11 22:24 
QuestionLens blur effect Pin
Dusan Paulovic24-Aug-11 6:07
Dusan Paulovic24-Aug-11 6:07 
AnswerRe: Lens blur effect Pin
enhzflep24-Aug-11 21:09
enhzflep24-Aug-11 21:09 
QuestionProgram execution hangs at accSelect. Pin
kartikdasani24-Aug-11 1:43
kartikdasani24-Aug-11 1:43 
AnswerRe: Program execution hangs at accSelect. Pin
enhzflep24-Aug-11 2:24
enhzflep24-Aug-11 2:24 
GeneralRe: Program execution hangs at accSelect. Pin
kartikdasani24-Aug-11 3:03
kartikdasani24-Aug-11 3:03 
GeneralRe: Program execution hangs at accSelect. Pin
enhzflep24-Aug-11 3:22
enhzflep24-Aug-11 3:22 
GeneralRe: Program execution hangs at accSelect. Pin
kartikdasani24-Aug-11 21:41
kartikdasani24-Aug-11 21:41 
Questionsnake problem Pin
CodeNomad23-Aug-11 20:08
CodeNomad23-Aug-11 20:08 
AnswerRe: snake problem Pin
enhzflep23-Aug-11 21:07
enhzflep23-Aug-11 21:07 
GeneralRe: snake problem Pin
CodeNomad23-Aug-11 21:10
CodeNomad23-Aug-11 21:10 
GeneralRe: snake problem Pin
enhzflep23-Aug-11 21:29
enhzflep23-Aug-11 21:29 
JokeRe: snake problem Pin
aswinsayeeraman24-Aug-11 21:15
aswinsayeeraman24-Aug-11 21:15 
GeneralRe: snake problem Pin
ThatsAlok30-Aug-11 0:01
ThatsAlok30-Aug-11 0:01 

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.