uacs2024

导航

2024年3月18日 #

C++看程序写结果:调用一次Line类构造函数,执行几次Point类复制构造函数?

摘要: C++看程序写结果:调用一次Line类构造函数,执行几次Point类复制构造函数? #include <iostream> #include <cmath> using namespace std; class Point { //Point类定义 public: Point(int xx = 0, 阅读全文

posted @ 2024-03-18 21:05 ᶜʸᵃⁿ 阅读(9) 评论(0) 推荐(0) 编辑