uacs2024

导航

动态数组类及其模板

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

posted on 2024-03-24 18:58  ????  阅读(19)  评论(0编辑  收藏  举报