c实现学生成绩管理系统 MIS

这是一个使用C语言编写的学生成绩管理系统,包括录入、打印、保存、读取、统计、查找和修改学生信息的功能。系统通过链表结构管理学生数据,并支持从文件中读写数据。
摘要由CSDN通过智能技术生成


#include <stdio.h>

#include <stdlib.h>


typedef struct _Student{

    char name[10];

    int age;

    int number;

    int score;

}Student;

typedef struct _Node{

    Student stu;//学生信息

    struct _Node * next;//指向下一个学生

}Node;


Node * head=NULL;//定义第一个学生


//函数声明

void inputStudent();//录入学生信息

void printStudent();//打印学生信息

int saveStudent(); //保存学生信息

int readStudent(); //读取学生信息

int countStudent(); //统计所有学生人数

int findStudent();//查找学生信息

int modifyStudent(); //修改学生信息


int main(int argc, const char * argv[])

{

    printf("欢迎使用学生信息管理系统\n");

    printf("中北镇工作室2013作品V1.0\n");

    while (1) {

        printf("\n请选择功能列表:");

        printf("\n1.录入学生信息");

        printf("\n2.打印学生信息");

        printf("\n3.保存学生信息");

        printf("\n4.读取学生信息");

        printf("\n5.统计所有学生人数");

        printf("\n6.查找学生信息");

        printf("\n7.修改学生信息");

        printf("\n8.退出系统\n");

        char c;

        scanf(" %c",&c);

        switch (c) {

            case '1':

                inputStudent();

                break;

            case '2':

                printStudent();

                break;

            case '3':

                saveStudent();

                break;

            case '4':

                readStudent();

                break;

            case '5':

                countStudent();

                break;

            case '6':

                findStudent();

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值