#Linux中的GCC编程# 学生系统

C

学生管理系统(MVC架构)

1、代码获取

代码下载地址:https://github.com/Kshine2017/My_GCC/tree/student

2、代码结构

[root@localhost Kshine]# tree student
student
├── bin
│   └── main
├── include
│   ├── includes.h
│   ├── stucontrol.h
│   ├── student.h
│   ├── stuview.h
│   └── welcome.h
├── obj
└── src
    ├── main.c
    ├── stucontrol.c
    ├── student.c
    ├── stuview.c
    └── welcome.c

3、编译命令

gcc src/*.c -o bin/main -Wall -I include/

4、运行效果

运行./bin/main

开始

输入1,选择管理员登录。账号密码都是admin
管理员登录

管理员界面,添加学生
添加学生

管理员界面,查看所有学生信息
查看所有学生信息

学生登录(Kshine 123456)
学生登录

学生界面,查看自己的成绩
查看自己的成绩

此项目功能很简单,涉及到基本的链表操作(单链表)。如想要更为复杂的系统,请参考彩票系统(三链表)。https://blog.csdn.net/Kshine2017/article/details/85280331

谢谢。

猜你喜欢

转载自blog.csdn.net/Kshine2017/article/details/85291472