当前位置:网站首页>C language student management system (open source)
C language student management system (open source)
2022-06-22 14:40:00 【happysnaker】
The freshman class is designed to — A not so bad C Language student management system ( Attached report )
It was so beautiful when I was a freshman , At that time, I didn't feel tired after staying up late to write for a week in order to realize a project , On the contrary, I was very excited after finishing the project alone , There is an unspeakable sense of joy , I really admire myself at that time , One person is making trouble 2000 Many lines of code , But it's a good thing that I made a billion comments at the beginning , Otherwise, I can't understand it now , The code part is tedious , But I still haven't changed , After all, it was also the painstaking efforts of that year .
If you haven't been learning for a long time , My advice is not to pursue fancy interfaces , Don't even think about copying online game algorithms , It doesn't work , What you need to do is to be familiar with the use of data structures , Cultivate the thinking of project engineering , Can put the c The pointer can be used flexibly without memory leakage , Innovative design , This is the best , Many other similar projects on the Internet are flashy , Not very suitable , This project is pure c Language writing , There are hardly any global variables , The pointer is very flexible , The memory is also released manually when exiting , It also uses a powerful data structure , Handwriting input function , Ask you to correct the pointer 、 Array 、 data structure 、 Various functions are skillfully mastered , It can consolidate your knowledge , If I can help you , You might as well click "like" to support !
Besides , This project has been tested by dozens of people before and after , Have been put forward n individual bug, But they have all been modified , Several versions have been updated ( The price is a little messy ), Resisted the teacher's questions and tests , And succeeded in getting 99 Point high score , It should be said that it is a fairly good freshman course
Basic function
- Realized the account login system , Realized the operation of login and password modification .
- Realize file reading and writing , The content stored in each account is unique , Read and write from file , And save to file .
- It implements custom input , utilize getch Function custom input function , Pop up prompt for out of range input , Pop up prompt for illegal input , For password input *** The way
- The basic data maintenance is realized , That is, increase , modify , Delete , Inquire about , And all the functions have good human-computer interaction .
- The achievement of a single subject query , And a summary report on the results of each subject , Innovative design .
For those who improve their programming , The quickest way is to do it , You can learn from this project , You can also take it with you , This can greatly enhance your programming ability , Of course, you can modify it a little , As your lesson plan !
If you want to watch the running video , You can know the answer :
You know - Student management system demonstration video
At the end of the paper, the open source code is given .
Run time screenshot :








Bright spot :
As a freshman, the class is designed to , A lot of code , There are two subsystems in a system , Code super 2000 Multiple lines ( Although now I see this code, I think it has written a lot of nonsense )
It has relatively perfect human-computer interaction function , Basically, I have set the function of return and continue operation for each operation , Give users a better experience
The login mode is adopted , Allow password changes , Single account data is stored in the file
Powerful data structure , The student information management system uses a AVL Binary tree , The student achievement system adopts two-way multi linked list maintenance , Better reflect their own level
Functional perfection , Innovative design
Code modularization , Classification defines header files and source files , Almost no global variables are used , Although it may be complicated to transfer parameters , But make the project modular , More readable
Custom input , This makes it possible to detect errors in user input , For example, characters are not allowed when entering numbers , And there are scope provisions .
Header file and function definition :
1.FileO,h&&FileO.c, This module is designed for login and many file operations (File Operate)
2.Core1.h&&Core1.c, This module designs the core operation related to the student information management system
3.Core2.h&&Core2.c, This module designs the core operation related to the student achievement management system
4.Input.h&&Input.c, This module customizes the input , Make all inputs use getch( stay vs I don't support , It needs to be replaced with _gettch_), So that whether the input is valid or not can be determined at the time of input
5.ShowMap.h&&ShowMap.c, This module designs functions related to the interface
When reading the code, it is recommended to read the large operation manual first , Understand specific program modules , Then it is recommended to read the header file , There are definitions of various functions and they are annotated , You can basically understand the general functions .
Open source code ( Attached report ):
Through Github:
project — Student management system
git clone Address :
git://github.com/happysnaker/StudentsManageSystem.git
If you don't git Or not able to operate github, After clicking the link, you should see the following figure :
For those who improve their programming , The quickest way is to do it , You can learn from this project , You can also take it with you , This can greatly enhance your programming ability , Of course, you can modify it a little , As your lesson plan !
If you think it's ok , I'll go after you like it ,github Give me a hand star Chant ,star The sign is in the upper right corner !
Baidu online disk download :
Don't worry , Can't operate Github I have already packed it for you , Go to Baidu online disk to download directly :
link :https://pan.baidu.com/s/1DX2FzHdQwxTxzP5d2b5-WA
Extraction code :1qke
Copy this content after opening baidu network disk mobile phone App, It is more convenient to operate
Some other questions
Some small partners find that removing the function declaration in the header file can also run , Yes , Yes. ,cb The link to is very strong , But this is an engineering idea .
Count on VS It must be troublesome to run ,VS Environment and CB Is different .DEV I don't know , However, the following compilation options must be changed .
It seems that there are many small partners who give feedback on what will happen for-loop… error , This is the issue of compilation options , stay c99 It was not allowed to for Of variables defined in , So you should adjust the compilation environment to the latest c11 or c99 standard . Here's how :
- find setting, Click on Compiler…
- Compiler settings Flag( Remember to point ok)
- Add compilation parameters to other options ( Remember to point ok)



Reprint please indicate the source !
边栏推荐
- Unity sub thread calls UI of main thread
- How many days are there between the two timestamps of PHP
- Understand the quality assurance of open source software (OSS)
- 轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
- 验证码是自动化的天敌?看看大神是怎么解决的
- 【考研攻略】北京交通大学网络空间安全专业2018-2022年考研数据分析
- Aliyundrive fuse that allows jellyfin to directly mount alicloud disks
- C generic method
- php两个时间戳相隔多少天
- Offline physical stores combined with VR panorama make virtual shopping more realistic
猜你喜欢

How location coding (PE) works in transformers

拜登簽署兩項旨在加强政府網絡安全的新法案

In 5g era, how to create an amazing live VR activity?

基于SSH框架甜品商城管理系统【源码+数据库】

【无标题】

Unity商业游戏常用真机调试插件

Kubernetes monitoring: grafana adds datasource and dashboard through automation

Rongyun: let the bank go to the "cloud" easily

Stm32f1 and stm32subeide programming example - Optical intermittent sensor drive

Chip silicon and streaming technology
随机推荐
Error: Unable to find a match: lrzsz的解决方法
Unity prevents the BTN button from being clicked continuously
Kukai TV ADB
Seven cattle cloud upload picture
Groovy语法介绍
机器学习之随机森林
位置编码(PE)是如何在Transformers中发挥作用的
[untitled]
D damage and safety
Loot、USDT
Installing and using protobuf-c
Cat agile team coaching workshops - August 20
unity的富文本Text的Color设置颜色全透明
What is the difference between Z-score and deltf/f?
How location coding (PE) works in transformers
Biden signs two new laws aimed at strengthening government cyber security
Neuron+ekuiper realizes data collection, cleaning and anti control of industrial Internet of things
Differences and performance of array, list, ArrayList, directory and LinkedList in C #
Perceptron of machine learning
11 method reference and constructor application