|
-
January 6th, 2002, 06:46 PM
#1
embedded class and memory layout
I have one class embedded in another class... For my application, I need to know the memory layout of the class.
For example:
class CA
{
int nX;
int nY;
CNode Node;
};
main()
{
CA * pA = new CA;
}
Let's say pA = 0x00003100. How can I determine the beginning location of CA's member?
Thanx in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|