把结构体的指针作为实参 #include <iostream> #include <string> using namespace std; struct Student { int id; string name; float score[2]; }; void OutCome(Student *s) { //注意指针访问结构体就不能用“.”啦,要用“->” cout<id<<','<name<<','<score[0]<<','<score[1]<<endl; }...