Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to add Messsage After installling Application using MSI Pin
Richard Andrew x645-Mar-10 15:31
professionalRichard Andrew x645-Mar-10 15:31 
QuestionStructure/Class member addresses Pin
Mike the Red5-Mar-10 2:58
Mike the Red5-Mar-10 2:58 
AnswerRe: Structure/Class member addresses Pin
CPallini5-Mar-10 3:22
mveCPallini5-Mar-10 3:22 
GeneralThanks, Pallini! -nt- Pin
Mike the Red5-Mar-10 3:43
Mike the Red5-Mar-10 3:43 
AnswerRe: Structure/Class member addresses Pin
Luc Pattyn5-Mar-10 4:12
sitebuilderLuc Pattyn5-Mar-10 4:12 
AnswerRe: Structure/Class member addresses Pin
Saurabh.Garg5-Mar-10 4:19
Saurabh.Garg5-Mar-10 4:19 
GeneralRe: Structure/Class member addresses Pin
Luc Pattyn5-Mar-10 4:25
sitebuilderLuc Pattyn5-Mar-10 4:25 
GeneralRe: Structure/Class member addresses Pin
Saurabh.Garg5-Mar-10 4:37
Saurabh.Garg5-Mar-10 4:37 
Okay I admit I made the comment based on excellent book "Inside the C++ Object Model".

But I check the C++ standard and it is there in Section 9.2 point 12:
"Nonstatic data members of a (non-union) class declared without an intervening access-specifier are allocated so that later members have higher addresses within a class object. The order of allocation of non-static data members separated by an access-specifier is unspecified (11.1). Implementation alignment requirements might cause two adjacent members not to be allocated immediately after each other; so might requirements for space for managing virtual functions (10.3) and virtual base classes (10.1)."


and Section 11.1 point 3:
"The order of allocation of data members with separate access-specifier labels is unspecified (9.2)."


-Saurabh
GeneralRe: Structure/Class member addresses Pin
Luc Pattyn5-Mar-10 4:50
sitebuilderLuc Pattyn5-Mar-10 4:50 
GeneralRe: Structure/Class member addresses Pin
CPallini5-Mar-10 5:26
mveCPallini5-Mar-10 5:26 
GeneralRe: Structure/Class member addresses Pin
Luc Pattyn5-Mar-10 5:32
sitebuilderLuc Pattyn5-Mar-10 5:32 
GeneralRe: Structure/Class member addresses Pin
CPallini5-Mar-10 5:59
mveCPallini5-Mar-10 5:59 
GeneralRe: Structure/Class member addresses Pin
Luc Pattyn5-Mar-10 6:05
sitebuilderLuc Pattyn5-Mar-10 6:05 
GeneralRe: Structure/Class member addresses Pin
CPallini5-Mar-10 6:24
mveCPallini5-Mar-10 6:24 
AnswerRe: Structure/Class member addresses Pin
Avi Berger5-Mar-10 5:11
Avi Berger5-Mar-10 5:11 
QuestionData Type Conversions Pin
Andy2025-Mar-10 2:06
Andy2025-Mar-10 2:06 
QuestionRe: Data Type Conversions Pin
CPallini5-Mar-10 3:28
mveCPallini5-Mar-10 3:28 
AnswerI'm not following the math you're doing, but maybe this will help.. Pin
Mike the Red5-Mar-10 3:33
Mike the Red5-Mar-10 3:33 
GeneralRe: I'm not following the math you're doing, but maybe this will help.. Pin
Andy2025-Mar-10 8:12
Andy2025-Mar-10 8:12 
AnswerRe: Data Type Conversions Pin
Luc Pattyn5-Mar-10 4:19
sitebuilderLuc Pattyn5-Mar-10 4:19 
GeneralRe: Data Type Conversions Pin
Andy2025-Mar-10 10:48
Andy2025-Mar-10 10:48 
AnswerRe: Data Type Conversions Pin
Luc Pattyn5-Mar-10 11:38
sitebuilderLuc Pattyn5-Mar-10 11:38 
GeneralRe: Data Type Conversions Pin
Andy2025-Mar-10 22:33
Andy2025-Mar-10 22:33 
QuestionHow to receive a file name under the link? Pin
Dima Filipiuk5-Mar-10 0:58
Dima Filipiuk5-Mar-10 0:58 
AnswerRe: How to receive a file name under the link? Pin
David Crow5-Mar-10 7:07
David Crow5-Mar-10 7:07 

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.