- 博客(3)
- 收藏
- 关注
原创 C++ shangji3构造函数和析构函数
#include #includeusing namespace std;class StudentScore {public: StudentScore() { student_nr = 2; } StudentScore(int student_count) { student_nr = student_count; } void InputStudentNameAndSc
2022-10-23 20:48:07
120
2
原创 【无标题】C++输入两个坐标显示出输入的坐标以及均值
#include using namespace std;class Coordinate{private: float Coord[100][100]; int times;public: Coordinate() //无参数的构造函数 { times = 2;//坐标值的组数 cout
2022-10-23 15:57:57
527
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人