memory model

Hi!
I want to read about the way C++ handles the memory.
Need some links about this subject that explain how the memory is organized and how C++ compiler deals with it (stack heap ...).
What do YOU recommend?
Thanks
I may be wrong, but I'm pretty sure that this is handled by the kernel.
I'm not so sure about the stack, though. I've seen the stacks generated by VC++ and MinGW and they're completely different.
I guess i did't explained myself well.
When we execute a program it is loaded into memory ? Code Segment.
When we declare int x where is the memoty space allocated? Data segment.
And the operator new/delete? Free memory.

and lots of others like ... high memory ... low memory.

Guess i am looking for an article that explains how all of this comes toghether and interrelates them.
Topic archived. No new replies allowed.