C++程序有个错误,求高手能帮我改一下?
来源:百度知道 编辑:UC知道 时间:2024/06/16 15:14:02
就是2楼的那个程序
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
struct stu
{char ID[20];
char Name[20];
char Dorm[10];
char Tel[10];
struct stu *next;};
struct stu *Creatstudent(struct stu *h);
struct stu *Modifystudent(struct stu *h);
struct stu *Addstudent(struct stu *h);
struct stu *Searchstudent(struct stu *h);
struct stu *Deletestudent(struct stu *h);
struct stu *Recordstudent(struct stu *h);
struct stu *Getrecord(struct stu *h);
void Printstudent(struct stu *h);
void main()
{ struct stu *head;
head=NULL;
printf(" =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=\n");
printf(" * WELCOME TO STUDENT MANAGEMEN *\n ");
printf(" =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=\n");
printf("\n");