摘要:
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> using namespace std; template<typename T> T sum(T other1, T other2) { T reslut = 阅读全文
摘要:
#include <iostream> using namespace std; #include<vector> //定义一个类,用于存放数据 class Test { int a; public: Test(int x) :a(x){} void print_id() { cout << a < 阅读全文
摘要:
//头文件 #ifndef STUDENT_H #define STUDENT_H class Student { public: friend void Print_Student(); //友元声明 Student(const int m_student_id,const char* m_stu 阅读全文