摘要: 空类占用1字节内存空间 #include <iostream> using namespace std; class A{}; int main() { cout << sizeof(A) << endl; return 0; } 阅读全文
posted @ 2021-12-27 15:54 dilex 阅读(97) 评论(0) 推荐(0) 编辑