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

C / C++ / MFC

 
AnswerRe: Building and testing a deskband Pin
TheGreatAndPowerfulOz13-Dec-05 9:07
TheGreatAndPowerfulOz13-Dec-05 9:07 
GeneralRe: Building and testing a deskband Pin
PJ Arends13-Dec-05 12:48
professionalPJ Arends13-Dec-05 12:48 
GeneralRe: Building and testing a deskband Pin
TheGreatAndPowerfulOz13-Dec-05 13:10
TheGreatAndPowerfulOz13-Dec-05 13:10 
AnswerRe: Building and testing a deskband Pin
Aamir Butt13-Dec-05 21:07
Aamir Butt13-Dec-05 21:07 
QuestionAddress of a Class object Pin
ddmcr13-Dec-05 8:17
ddmcr13-Dec-05 8:17 
AnswerRe: Address of a Class object Pin
Chris Losinger13-Dec-05 9:08
professionalChris Losinger13-Dec-05 9:08 
AnswerRe: Address of a Class object Pin
Dominik Reichl13-Dec-05 9:10
Dominik Reichl13-Dec-05 9:10 
AnswerRe: Address of a Class object Pin
TheGreatAndPowerfulOz13-Dec-05 9:11
TheGreatAndPowerfulOz13-Dec-05 9:11 
Giorgi Moniava wrote:
Why is the address of a class object same as its member variables address


Why does that confuse you? Where else do you expect the members of a class to be stored?

This is correct behavior. It is simply telling you that the first member of Foo occupies the first memory location in Foo. If you add a member after the first and take it's address, then you will see it is N1 bytes after the first member's address, where N1 is the size of the first member.
GeneralRe: Address of a Class object Pin
#realJSOP13-Dec-05 10:10
mve#realJSOP13-Dec-05 10:10 
GeneralRe: Address of a Class object Pin
TheGreatAndPowerfulOz13-Dec-05 10:56
TheGreatAndPowerfulOz13-Dec-05 10:56 
QuestionC language string to float conversion ... Pin
Maximilien13-Dec-05 7:38
Maximilien13-Dec-05 7:38 
AnswerRe: C language float to string conversion ... Pin
Jim Crafton13-Dec-05 7:49
Jim Crafton13-Dec-05 7:49 
AnswerRe: C language string to float conversion ... Pin
PJ Arends13-Dec-05 8:38
professionalPJ Arends13-Dec-05 8:38 
GeneralRe: C language string to float conversion ... Pin
Maximilien13-Dec-05 9:30
Maximilien13-Dec-05 9:30 
QuestionHow to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 7:10
Cyrus Dang13-Dec-05 7:10 
AnswerRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 9:16
TheGreatAndPowerfulOz13-Dec-05 9:16 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 9:33
Cyrus Dang13-Dec-05 9:33 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 9:50
TheGreatAndPowerfulOz13-Dec-05 9:50 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 10:25
Cyrus Dang13-Dec-05 10:25 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 13:16
TheGreatAndPowerfulOz13-Dec-05 13:16 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 14:06
Cyrus Dang13-Dec-05 14:06 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 17:12
TheGreatAndPowerfulOz13-Dec-05 17:12 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz14-Dec-05 6:39
TheGreatAndPowerfulOz14-Dec-05 6:39 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang14-Dec-05 6:48
Cyrus Dang14-Dec-05 6:48 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz14-Dec-05 8:39
TheGreatAndPowerfulOz14-Dec-05 8:39 

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.