Click here to Skip to main content
14,325,892 members

ATL / WTL / STL

 
AnswerRe: STL std::string help needed Pin
Daniel Pfeffer12-Feb-17 0:47
professionalDaniel Pfeffer12-Feb-17 0:47 
PraiseRe: STL std::string help needed Pin
VISWESWARAN199812-Feb-17 4:25
professionalVISWESWARAN199812-Feb-17 4:25 
PraiseRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 23:54
professionalVISWESWARAN19989-Feb-17 23:54 
QuestionMultiple Inheritance question Pin
samzcs25-Dec-16 17:31
membersamzcs25-Dec-16 17:31 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan25-Dec-16 20:36
protectorRichard MacCutchan25-Dec-16 20:36 
GeneralRe: Multiple Inheritance question Pin
samzcs26-Dec-16 7:51
membersamzcs26-Dec-16 7:51 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan26-Dec-16 21:29
protectorRichard MacCutchan26-Dec-16 21:29 
AnswerRe: Multiple Inheritance question Pin
Vi228-Dec-16 18:35
memberVi228-Dec-16 18: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 18:40
membersamzcs28-Dec-16 18:40 
QuestionCalling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 5:46
memberrdeekonda29-Jul-16 5:46 
AnswerRe: Calling a MFC dialog from win32 Pin
Afzaal Ahmad Zeeshan29-Jul-16 6:01
mveAfzaal Ahmad Zeeshan29-Jul-16 6:01 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 7:04
memberrdeekonda29-Jul-16 7:04 
AnswerRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 6:46
protectorRichard MacCutchan29-Jul-16 6:46 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 7:08
memberrdeekonda29-Jul-16 7:08 
GeneralRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 22:19
protectorRichard MacCutchan29-Jul-16 22:19 
QuestionHow to open file with single quote in its name? Pin
liquid_23-Jul-16 20:09
memberliquid_23-Jul-16 20:09 
AnswerRe: How to open file with single quote in its name? Pin
Richard MacCutchan23-Jul-16 20:52
protectorRichard MacCutchan23-Jul-16 20:52 
GeneralRe: How to open file with single quote in its name? Pin
liquid_23-Jul-16 23:40
memberliquid_23-Jul-16 23:40 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:20
mveJochen Arndt24-Jul-16 0:20 
GeneralRe: How to open file with single quote in its name? Pin
liquid_24-Jul-16 0:21
memberliquid_24-Jul-16 0:21 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:34
mveJochen Arndt24-Jul-16 0:34 
GeneralRe: How to open file with single quote in its name? Pin
liquid_27-Jul-16 8:06
memberliquid_27-Jul-16 8:06 
GeneralRe: How to open file with single quote in its name? Pin
Richard MacCutchan24-Jul-16 1:26
protectorRichard MacCutchan24-Jul-16 1:26 
Questioncode Pin
Member 1222782612-Jun-16 21:24
memberMember 1222782612-Jun-16 21:24 
AnswerRe: code Pin
Jochen Arndt12-Jun-16 22:38
mveJochen Arndt12-Jun-16 22: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.