当前位置:网站首页>Programming homework: educational administration management system (C language)
Programming homework: educational administration management system (C language)
2022-07-06 12:25:00 【Junfu Xiaotong】
Write in the front :
This big assignment was written by freshman , So relatively low energy , The whole article only covers C Language related knowledge , And some of the content I have read is disgusting . Hey .
I sorted out the resources , You can download it for free : Programming homework : The educational administration management system management system (C Language )-C Document resources -CSDN library
The following is a link to Baidu online disk , The extraction code is io6a:
Baidu SkyDrive Please enter the extraction code
Now let me talk about some points that may need attention :
1、 I still want to say it again , The code has little technical content , Knowledge that does not involve databases , All the data is in TXT In file .
2、 If there's nothing wrong , You downloaded the source code , As long as you ensure that the file path in the source code is correct, you can run directly .
3、 There is a function of looking at the schedule. What I write is to pop up a picture , I also casually found the pictures of the timetable , But in fact, this is very bad , I really want to laugh after reading this function , If you have time, you can change this function , Even just printf After class schedule , It's better to edit the format casually than a picture .
4、 Today, I opened the code and ran it casually, and I found one bug, Many sentences like this will appear during the operation of this program :“Press 1 to go on, pressing any other key will exit.”, Press 1 Just go ahead , Press other keys to exit , however , Other keys can only be numeric keys , It cannot be letter keys or other special symbol keys . The simplest solution here is to modify the prompt language , Let the user enter only the number keys , But if the user presses other keys, there will still be an error , So it's best to modify the code , The modification method is as follows :

First, make sure gon It's character type :char gon;
And then put %d Change it to %c;
Last if(gon=='1')
Revised as follows :

5、 Here are some screenshots :
The login process of students is as follows



What the above picture shows is what students can do , Check the score 、 Check the timetable 、 Check list 、 sign out 、 Change Password .

The picture above is what a teacher can do , View or modify student grades , Issue notice , sign out . The notice will be displayed after the students log in , The content of the notice is also saved in TXT in , But whether to directly overwrite the last notification or write it next , I also forgot , You can try it by yourself , If you want to be more perfect , The notice can be written to accommodate at most N Notice , More than N Just delete the old ; Or the notice can only be kept N God , After that N Days will be deleted automatically and will not appear again , Of course, that's just my idea , The code does not reflect , If you are interested, you can try to realize it by yourself .

The above picture is what administrators can do , Add or delete student teacher accounts 、 View the score modification record 、 sign out .
6、 The following is the purpose of the files in the compressed package :
Class schedule pictures :

Source code :

From top to bottom is : Administrator account information 、 Notice information 、 Score modification record information 、 Student account information 、 Teacher account information .

Experimental report :
![]()
well ,over.
边栏推荐
- GCC compilation options
- [leetcode622] design circular queue
- [offer78] merge multiple ordered linked lists
- 关于Gateway中使用@Controller的问题
- E-commerce data analysis -- salary prediction (linear regression)
- Amba, ahb, APB, Axi Understanding
- The first simple case of GNN: Cora classification
- (1) Introduction Guide to R language - the first step of data analysis
- Fashion Gen: the general fashion dataset and challenge paper interpretation & dataset introduction
- (5) Introduction to R language bioinformatics -- ORF and sequence analysis
猜你喜欢
![Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]](/img/b0/176bf6dea2201afc892d6750c5974b.png)
Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]

(4) Data visualization of R language -- matrix chart, histogram, pie chart, scatter chart, linear regression and strip chart

History object

NRF24L01 troubleshooting

Walk into WPF's drawing Bing Dwen Dwen

ES6语法总结--下篇(进阶篇 ES6~ES11)

idea问题记录

The dolphin scheduler remotely executes shell scripts through the expect command
![[esp32 learning-1] construction of Arduino esp32 development environment](/img/31/dc16f776b7a95a08d177b1fd8856b8.png)
[esp32 learning-1] construction of Arduino esp32 development environment

Learning notes of JS variable scope and function
随机推荐
[golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree
Remember an experience of ECS being blown up by passwords - closing a small black house, changing passwords, and changing ports
ESP8266连接onenet(旧版MQTT方式)
如何给Arduino项目添加音乐播放功能
ORA-02030: can only select from fixed tables/views
Pytorch: tensor operation (I) contiguous
Working principle of genius telephone watch Z3
PT OSC deadlock analysis
JS变量类型以及常用类型转换
ES6 grammar summary -- Part I (basic)
ES6语法总结--下篇(进阶篇 ES6~ES11)
[offer29] sorted circular linked list
Embedded startup process
[Nodejs] 20. Koa2 onion ring model ----- code demonstration
How to add music playback function to Arduino project
MySQL时间、时区、自动填充0的问题
AMBA、AHB、APB、AXI的理解
GCC compilation options
Learning notes of JS variable scope and function
What is the maximum length of MySQL varchar field