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
相關文章
相關標籤/搜索