c++中类中占用字节情况 #include <iostream>using namespace std;class A {private: int a1;public: virtual void func1() {} };class B : public A {private: int b;public: virtual void func1() {} virtual void fu... Other 2024-10-22 33 点赞 0 评论 50 浏览