Click here to Skip to main content
15,867,488 members
Home / Discussions / ATL / WTL / STL
   

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
samzcs25-Dec-16 17:31 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan25-Dec-16 20:36
mveRichard MacCutchan25-Dec-16 20:36 
GeneralRe: Multiple Inheritance question Pin
samzcs26-Dec-16 7:51
samzcs26-Dec-16 7:51 
GeneralRe: Multiple Inheritance question Pin
Richard MacCutchan26-Dec-16 21:29
mveRichard MacCutchan26-Dec-16 21:29 
AnswerRe: Multiple Inheritance question Pin
Vi228-Dec-16 18:35
Vi228-Dec-16 18:35 
C#
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
samzcs28-Dec-16 18:40 
QuestionCalling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 5:46
rdeekonda29-Jul-16 5:46 
AnswerRe: Calling a MFC dialog from win32 Pin
Afzaal Ahmad Zeeshan29-Jul-16 6:01
professionalAfzaal Ahmad Zeeshan29-Jul-16 6:01 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 7:04
rdeekonda29-Jul-16 7:04 
AnswerRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 6:46
mveRichard MacCutchan29-Jul-16 6:46 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 7:08
rdeekonda29-Jul-16 7:08 
GeneralRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 22:19
mveRichard MacCutchan29-Jul-16 22:19 
QuestionHow to open file with single quote in its name? Pin
liquid_23-Jul-16 20:09
liquid_23-Jul-16 20:09 
AnswerRe: How to open file with single quote in its name? Pin
Richard MacCutchan23-Jul-16 20:52
mveRichard MacCutchan23-Jul-16 20:52 
GeneralRe: How to open file with single quote in its name? Pin
liquid_23-Jul-16 23:40
liquid_23-Jul-16 23:40 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:20
professionalJochen Arndt24-Jul-16 0:20 
GeneralRe: How to open file with single quote in its name? Pin
liquid_24-Jul-16 0:21
liquid_24-Jul-16 0:21 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:34
professionalJochen Arndt24-Jul-16 0:34 
GeneralRe: How to open file with single quote in its name? Pin
liquid_27-Jul-16 8:06
liquid_27-Jul-16 8:06 
GeneralRe: How to open file with single quote in its name? Pin
Richard MacCutchan24-Jul-16 1:26
mveRichard MacCutchan24-Jul-16 1:26 
Questioncode Pin
Member 1222782612-Jun-16 21:24
Member 1222782612-Jun-16 21:24 
AnswerRe: code Pin
Jochen Arndt12-Jun-16 22:38
professionalJochen 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.