摘要: 一个结构体变量定义完之后,其在内存中的存储并不等于其所包含元素的宽度之和。 例一: #include <iostream> using namespace std; struct X { char a; int b; double c; }S1; void main() { cout << size 阅读全文
posted @ 2020-11-24 10:40 xiuzhublog 阅读(530) 评论(0) 推荐(1) 编辑