C++程序代码的内存结构分析
C++程序内部的结构,同C程序的内部结构,也是分段的,一般分为代码段、堆、栈、数据段等。可以通过下面的代码来证明:CClassAddress.hpp 文件:#ifndef CClassAddress_hpp#define CClassAddress_hppclass CClassAddress{public: CClassAddress(); int getNum1(); void setNum1(int a);private: int mPrvNum