student没有定义要么加上student(应该是一个结构体或者类)要么看看是不是 include 另一个包含了 student 定义的头文件
student如果是个结构体,那么前面全部加上struct关键字