In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
            
                    
                
2025-11-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to implement the attendance management system on C++". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "C++ how to achieve attendance management system" it!
Design an attendance management system to record students' absenteeism
1. Design students
2. Design courses
3. Design attendance
4. Enter the absence of students.
5. Revise a student's absence from class
6. Inquire about the absence of a student.
7. Count the list and number of absenteeism students over a period of time
For reference only, there are still some deficiencies, please correct more!
# include # include using namespace std;class Student {public: void setname (char * setname) {strcpy (name,setname);} void setcarname (char * setcarname) {strcpy (carname,setcarname);} void setseating_capacity (char * setseating_capacity) {strcpy (seating_capacity,setseating_capacity) } void setidentifynumber (char * setidentifynumber) {strcpy (identifynumber,setidentifynumber);} char * getname () {char * setname=name; return setname;} char * getcarname () {char * setcarname=carname; return setcarname } char * getsetseating_capacity () {char * setseating_capacity=seating_capacity; return setseating_capacity;} char * getidentifynumber () {char * setidentifynumber=identifynumber; return setidentifynumber;} private: char name [30]; char carname [30] Char seating_capacity [30]; char identifynumber [30];}; class Course:public Student {public: void setcoursename (char * setcoursename) {strcpy (coursename,setcoursename);} void setcoursetime (char * setcoursetime) {strcpy (coursetime,setcoursetime) } void setcourseplace (char * setcourseplace) {strcpy (courseplace,setcourseplace);} char * getcoursename () {char * setcoursename; setcoursename=coursename; return setcoursename;} char * getcoursetime () {char * setcoursetime; setcoursetime=coursetime Return setcoursetime;} char * getcourseplace () {char * setcourseplace; setcourseplace=courseplace; return setcourseplace;} private: char coursename [30]; char coursetime [30]; char courseplace [30];} Class Attendence:public Course {public: void setattendence (int setattendence) {int iTuno; attendence [I] = setattendence; iTunes;} int * getattendence () {int * setattendence; setattendence=attendence; return setattendence;} private: int attendence [30];} Int input (Student n [], Student I [], Course cn [], Course ct [], Course cp [], Attendence a []); int modify (Student I [], Course cn [], Course ct [], Course cp [], Attendence attendence [], int totalnumber); int search (Student n [], Student I [], Course cn [], Course ct [], Course cp [], Attendence a [], int totalnumber)) Int statistic (Student n [], Student I [], Course cn [], Course ct [], Course cp [], Attendence a [], int totalnumber); void bubble (int arr [], int len); Student n [20]; Student I [20]; Course cn [20]; Course ct [20]; Course cp [20]; Attendence a [20]; int totalnumber=0;char name [30]; char identifynumber [30]; char coursename [30]; char coursetime [30]; char courseplace [30]; int attendence;int array [30] Int att [30]; int main () {while (1) {cout
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





            
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.