调用函数你不用写定义函数啊如果你已经定义了prog1函数,参数是struct student 结构数组,那么这里是函数调用,写prog1(a);就可以了
没看到prog1方法,请在main方法前面先定义prog1方法。