uacs2024

导航

2024年3月24日 #

动态数组类及其模板

摘要: 先定义point类,再定义由point类的动态数组 #include <iostream> #include <cassert> using namespace std; class Point { private: int x, y; public: Point() : x(0), y(0) {c 阅读全文

posted @ 2024-03-24 18:58 ᶜʸᵃⁿ 阅读(13) 评论(0) 推荐(0) 编辑