摘要: malloc实现对象的构造函数 #include <iostream> #include <cstdlib> using namespace std; class A{ public: int num; A(int x):num(x){} ~A(){} void p(){ cout << num < 阅读全文
posted @ 2020-09-15 20:07 happy_fan 阅读(130) 评论(0) 推荐(0) 编辑