满意答案
dhjkioi474
2014.01.25
采纳率:41% 等级:12
已帮助:6554人
改好了,少了个头文件,malloc的定义不对2个错误;可以运行,内容对不对就要看你原来写的程序是不是正确的了,下面是改过后的程序
#include
#include
struct information
{
char name[21];
char number[21];
int grade[5];
int average;
int total;
};
typedef struct information INFORMATION;
main()
{
int n,i,k=0,p=0;
char ch=0;INFORMATION* Ptr=NULL;
printf("Please input the number of stu