You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.4 KiB

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
while(1)
{
printf("\t\t\t*****************************************************************\n");
printf("\t\t\t|\t\t欢迎使用湖南工业大学学生信息管理系统\t\t|\n");
printf("\t\t\t*****************************************************************\n");
printf("\t\t\t|\t\t\t请选择功能列表\t\t\t\t|\n");
printf("\t\t\t|***************************************************************|\n");
printf("\t\t\t|\t\t\t1.录入学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t2.打印学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t3.保存学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t4.读取学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t5.查找学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t6.修改学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t7.删除学生信息\t\t\t\t|\n");
printf("\t\t\t|\t\t\t0.退出系统\t\t\t\t|\n");
printf("\t\t\t*****************************************************************\n");
char ch=getch();//从键盘输入一个字符
switch(ch)
{
case '1'://录入学生信息
break;
case '2'://打印学生信息
break;
case '3'://保存学生信息
break;
case '4'://读取学生信息
break;
case '5'://查找学生信息
break;
case '6'://修改学生信息
break;
case '0'://退出系统
break;
}
}
return 0;
}