C语言结构体排序方法

#include "stdafx.h" #include<iostream> #include<string> #include<algorithm> using namespace std; struct student { string name;//姓名 int math;//数学成绩 int english;//英语 }; int c =0;//控制排序规则 bool compare
相关文章
相关标签/搜索