学生信息管理系统C语言源代码 ??

2024-12-29 08:11:16
推荐回答(1个)
回答1:

刚帮另一个人写了个类似的程序,楼主自己看看再修改修改吧 #include "stdafx.h" #include #include #include #include //±ê×· //ר void ReadData(); // void SaveData(); //± void InsertPerson(); //í void SortPerson(); //ò void DeletePerson(); // void DeletePersonByname(); //° void DeletePersonAll(); // void ShowPerson(); //ù void GetchWait(); //á void FindPerson();//é void FindPersonByPhone();//°§é void FindPersonByName();//°é void ModifyStuByID(); //¨§ struct Person //á { char id[15];//§ char name[20]; // char xingbie[13]; //± char nianling[13]; //ê char address[30];//· struct Person *next; //á }; struct Person *ptr, *head, *current, *prev; int main() //÷ { char choose=0; system("cls"); ReadData(); while(1) // { system("cls"); printf("\t***************\t§úí\t*************\n\n"); printf("\t************\t1: í§ú\t*************\n\n"); printf("\t************\t2: §ú\t*************\n\n"); printf("\t************\t3: §ú\t*************\n\n"); printf("\t************\t4: é§ú\t*************\n\n"); printf("\t************\t5: ±§ú\t*************\n\n"); printf("\t************\t6: \t*************\n\n"); printf("\t****************************************************\n\n"); printf("\t :"); scanf("%c",&choose);// switch(choose) { case '1': InsertPerson(); //í break; case '2': DeletePerson(); // break; case '3': ShowPerson(); // break; case '4': FindPerson();//é break; case '5': SaveData();//± break; case '6': DeletePersonAll();//· exit(0);// } } return 0; } 不好意思,发上去的有些是乱发,代码太长了,楼主还是留下邮箱地址,用邮件发给你吧