student_info.h
来自「Accelerated c++ 電子書 對 c++ container 多有描述」· C头文件 代码 · 共 20 行
H
20 行
#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 + -
显示快捷键?