新人上路 求人指导
RT 大家帮忙看看哪里错了#include<stdio.h>
#include<stdlib.h>
#define N 100
int main()
{
int i;
struct xueshengchengji
{
int num;
char *name;
char sex[100];
int age;
float chengji[100];
};
struct xueshengchengji xuesheng[N];
for(i=0;i<N;i++)
{
printf("%9d",xuesheng[i].num);
printf("%s",xuesheng[i].name);
printf("%s",xuesheng[i].sex);
printf("%d",xuesheng[i].age);
printf("%.1f",xuesheng[i].chengji);
}
system("PAUSE");
return 0;
}