当前位置:网站首页>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 !
边栏推荐
猜你喜欢

JS高级程序设计第 4 版:迭代器的学习

Specific methods and steps of PROFINET communication between s7-200smart and Fanuc robot

Understand the quality assurance of open source software (OSS)

验证码是自动化的天敌?看看大神是怎么解决的

3DMAX modeling notes (I): introducing 3DMAX and creating the first model Hello World

Offline physical stores combined with VR panorama make virtual shopping more realistic

How to add a mask to a VR panoramic work? What is the function?

How to implement interface exception scenario testing? Exploration of test methods and implementation of test tools

【Pr】基础流程

Technology practice | scene oriented audio and video call experience Optimization
随机推荐
Understand the quality assurance of open source software (OSS)
一文彻底弄懂单例模式(Singleton)
天润云上市在即:VC大佬田溯宁大幅减持,预计将套现2.6亿港元
开源SPL重新定义OLAP Server
Screenshot of the uniapp app and save it locally
11 方法引用和构造器应用
数据采集之:巧用布隆过滤器提取数据摘要
C#泛型_泛型类
How to protect WordPress websites from cyber attacks? It is important to take safety measures
3dMax建模笔记(一):介绍3dMax和创建第一个模型Hello world
Excuse me, is Zhongyan futures reliable? Is the fund safe?
Should programmers choose software talent outsourcing companies?
Random forest of machine learning
快速了解常用的对称加密算法,再也不用担心面试官的刨根问底
Sikulix选取相对位置的图片(进阶版)
How to implement interface exception scenario testing? Exploration of test methods and implementation of test tools
Network address translation nat
History of hash index design
Chip silicon and streaming technology
想知道股票开户优惠链接,如何得知?网上开户安全么?