Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the student information management system under linux

Shulou Source: shulou.com Published: 2022-05-31 21:54:17 10月03日 Update

This article mainly explains how to realize the student information management system under linux. Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn how to realize the student information management system under linux.

I. brief introduction

The simple student information management system developed by vc++ during the university mainly includes adding student information, deleting student information, modifying student information, querying student information, displaying student information, comprehensive statistics (average score and pass rate of each course), ranking of total scores and withdrawal from the system. Design:

Second, detailed explanation

1. Code

(1) main.cpp

# include # include # include / / use the setw () function # include / / use the system () function # include / / use getch (), enter any character # include / / use the strcpy () function using namespace std; void baocun (); / / save the information int null0; / / global variable to record the total number of students. Char mi [] = "1987"; / / initial password class student / / Student class {public: int num; / / Student ID char name [10]; / / Student name char sex [4]; / / Student gender char classroom [10]; / / Student Class double aLind bJC; / / results of three courses double sum; / / record the total scores of individual three courses} stu, paixu, wo / / declare object class school:public student {public: / / declare function prototype void input (); / / add student information void add (); / / add student information void alt (); / / delete student information void alt (); / / modify student information void find (); / / query student information void disp (); / / display student information void cal () / / Comprehensive Statistics (average score and pass rate of each course) void xu (); / / Total score ranking void back (); / / return to the main interface void gai (); / / change password void start (); / / Management Operation}; / / main function void main () {school A; char atrechar c [20]; char m [20]; system ("cls") / / screen clearing DOC calls system ("color 1F"); / / Color calls doc cout

Tags: Grade input information student color student number gender math class Category English name classmate password total score system pass rate management management system course Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker Xiaomi OPPO Reno vpn