|
-
May 28th, 2008, 12:51 AM
#1
C++ program memory layout.
Just like a C program memory is divided into four parts: data segment, code segment, stack and heap, I want to know if a C++ program has the same kind of memory layout (in my knowledge the answer is yes, but my knowledge is very very limited)? does it have some other segment outside of the above four? and where are the vtables stored?
I have tried searching the net for an answer to this but didn't find anything relevant. There is a lot of material on Object memory layout but not this.
Will appreciate all informed discussion.
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
|