student_info.h

来自「Accelerated C++ 课后练习题 本人自己完成、可供参考」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef GUARD_Student_info
#define GUARD_Student_info
//Student_info.h header file
#include<iostream>
#include<string>
#include<vector>
struct Student_info
{
	std::string name;
	double midterm,final;
	std::vector<double> homework;
};

bool compare(const Student_info&,const Student_info&);
std::istream& read(std::istream&,Student_info&);
std::istream& read_hw(std::istream&,std::vector<double>&);
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?