C语言项目--教师信息/学生成绩管理系统

本文介绍了一个使用C语言编写的教师信息和学生成绩管理系统,该系统具备教师信息管理和学生成绩管理两大功能。文章提供了程序代码下载链接,并分享了部分源码。此外,还推荐了一位老师的人工智能教学资源,风格轻松易懂。
摘要由CSDN通过智能技术生成
               

这个系统实现两个功能,分别是管理教师的信息和学生的成绩,用户可以选择切换实现相应的功能。话不多说了,现在看下程序的实现截图:

这里给出程序代码下载地址:http://download.csdn.net/detail/dlutbrucezhang/5191828







下面贴出部分代码:

void add_tea(Teacher tea[]) {  int i=0,j,num;  char str[5];  if(numtea!=0)  {   printf("cover the current record?(y/n)\n");   gets(str);   if(str[0]=='Y'||str[0]=='y')    i=0;   else i=numtea;  }  printf("Please input the number of you add the teachers:");  scanf("%d",&num);  if(i==0)   numtea=num;  else numtea+=num;  if(numtea>lens)  {   lens+=10;   tea=(Teacher *)realloc(tea,lens*SIZE);  }  printf("Please input the teacher's info:\n");  for(;i<numtea;i++)  {   getchar();   printf("please input the teacher's NO.:");   gets(tea[i].number);   printf("please input the teacher's name:");   gets(tea[i].name);   printf("please input the teacher's sex(man/woman 0/1):");   gets(tea[i].sex);   if(tea[i].sex[0]=='0') strcpy(tea[i].sex,"man");   else strcpy(tea[i].sex,"woman");   printf("please 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值