摘要: 如果struct类型的声明放在函数体内,比如下面这个程序:#include<stdio.h>#define N 5int main(){ struct Student *input(struct Student *p); struct Student { int num; char name[10]; float score[3]; }; struct Student stu[N],*s=stu; s=input(stu); return 0;}struct Student *input(struct Student *p){}编译时在引用input函数行出现错误... 阅读全文
posted @ 2012-05-24 09:50 不堪一喵 阅读(685) 评论(0) 推荐(0) 编辑