09 2022 档案

摘要://Point类 //相较于教材,在构造函数的写法上,采用了业界更通用的初始化列表方式 #include<iostream> using std::cout; using std::endl; //定义Point类 class Point{ public: Point(int x0=0,int y0 阅读全文
posted @ 2022-09-28 23:15 kierborn 阅读(31) 评论(0) 推荐(0)