Click here to Skip to main content
14,384,769 members

ATL / WTL / STL

 
AnswerRe: STL std::string help needed Pin
Daniel Pfeffer12-Feb-17 1:47
professionalDaniel Pfeffer12-Feb-17 1:47 
PraiseRe: STL std::string help needed Pin
VISWESWARAN199812-Feb-17 5:25
professionalVISWESWARAN199812-Feb-17 5:25 
PraiseRe: STL std::string help needed Pin
VISWESWARAN199810-Feb-17 0:54
professionalVISWESWARAN199810-Feb-17 0:54 
QuestionMultiple Inheritance question Pin
samzcs25-Dec-16 18:31
membersamzcs25-Dec-16 18:31 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan25-Dec-16 21:36
protectorRichard MacCutchan25-Dec-16 21:36 
GeneralRe: Multiple Inheritance question Pin
samzcs26-Dec-16 8:51
membersamzcs26-Dec-16 8:51 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan26-Dec-16 22:29
protectorRichard MacCutchan26-Dec-16 22:29 
AnswerRe: Multiple Inheritance question Pin
Vi228-Dec-16 19:35
memberVi228-Dec-16 19:35 
don't know why cout << pd1, and cout << pd2 are different, they are assigned the same value &s.

It is surprise of Multiple Inheritance. CSon consist of 2 blocks: CDerive2 block and CDerive1 block, each of them has own address.

[CDerive2][CDerive1] or
[ C S o n ]

Therefore address of CSon instance is equal to address of CDerive2 part of CSon, but is not equal to address of CDerive1 part of CSon.
With best wishes,
Vita

GeneralRe: Multiple Inheritance question Pin
samzcs28-Dec-16 19:40
membersamzcs28-Dec-16 19:40 
QuestionCalling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 6:46
memberrdeekonda29-Jul-16 6:46 
AnswerRe: Calling a MFC dialog from win32 Pin
Afzaal Ahmad Zeeshan29-Jul-16 7:01
mveAfzaal Ahmad Zeeshan29-Jul-16 7:01 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 8:04
memberrdeekonda29-Jul-16 8:04 
AnswerRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 7:46
protectorRichard MacCutchan29-Jul-16 7:46 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 8:08
memberrdeekonda29-Jul-16 8:08 
GeneralRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 23:19
protectorRichard MacCutchan29-Jul-16 23:19 
QuestionHow to open file with single quote in its name? Pin
liquid_23-Jul-16 21:09
memberliquid_23-Jul-16 21:09 
AnswerRe: How to open file with single quote in its name? Pin
Richard MacCutchan23-Jul-16 21:52
protectorRichard MacCutchan23-Jul-16 21:52 
GeneralRe: How to open file with single quote in its name? Pin
liquid_24-Jul-16 0:40
memberliquid_24-Jul-16 0:40 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 1:20
mveJochen Arndt24-Jul-16 1:20 
GeneralRe: How to open file with single quote in its name? Pin
liquid_24-Jul-16 1:21
memberliquid_24-Jul-16 1:21 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 1:34
mveJochen Arndt24-Jul-16 1:34 
GeneralRe: How to open file with single quote in its name? Pin
liquid_27-Jul-16 9:06
memberliquid_27-Jul-16 9:06 
GeneralRe: How to open file with single quote in its name? Pin
Richard MacCutchan24-Jul-16 2:26
protectorRichard MacCutchan24-Jul-16 2:26 
Questioncode Pin
Member 1222782612-Jun-16 22:24
memberMember 1222782612-Jun-16 22:24 
AnswerRe: code Pin
Jochen Arndt12-Jun-16 23:38
mveJochen Arndt12-Jun-16 23:38 

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.