摘要: 010:返回什么才好呢原创爱旅行的姜姜 最后发布于2018-05-16 23:03:59 阅读数 1029 收藏展开#include <iostream>using namespace std;class A {public: int val; A(int n=123) { val = n; } A 阅读全文
posted @ 2020-03-26 22:35 没温度的风 阅读(93) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;class A { public: int i; A(int x) { i = x; } ~A(){cout<<i<<endl;}};int main(){ A a(1); A * pa = new A(2); delet 阅读全文
posted @ 2020-03-26 22:25 没温度的风 阅读(156) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-03-26 22:12 没温度的风 阅读(0) 评论(0) 推荐(0)