- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 C++类中的字节对齐
#include #include using namespace std;class Point{public: int x; int y; char z;};int main(){ Point p; cout << "&p:" << &p << endl; cout << "&p.x:" << &p.x << endl;
2010-01-29 15:49:00 1970
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人