In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to realize the teaching staff management system of C++". In the daily operation, I believe that many people have doubts about how to realize the teaching staff management system of C++. The editor consulted all kinds of materials and sorted out the simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to realize the teaching staff management system of C++". Next, please follow the editor to study!
Requirements: design a program to manage more comprehensive data information of employees, with data input, search, deletion and other functions. The specific functional details can be increased according to your own understanding.
Here is my design:
# include # include # include struct worker {int num;char name [20]; char zhicheng [10]; int wages;int reward;long birth;int salary;} work [500], work1; / * define structure * / void menu (); / / declare menu function void type_in (); / / declare entry function void baocun (int) / / declare save function void scan (); / / declare browsing function void del (); / / declare delete function void search (); / / declare query function void search_zhicheng (); / / declare query function void search_name () by title / / declare to find the function void change () by name; / / declare to modify the function void order (); / / declare the sort function void add (); / / declare to add the function void order_wages (); void order_name () Void menu () / * menu function * / {printf ("\ n"); printf ("Welcome to\ n"); printf ("employee Information Management system") Printf ("*\ n"); printf ("1. Enter employee information\ n "); printf (" 2. Browse employee information\ n "); printf (" 3. Query employee information\ n "); printf (" 4. Delete employee information\ n "); printf (" 5. Modify employee information\ n "); printf (" 6. Sort employee information\ n "); printf (" 7. Add employee information\ n "); printf (" 8. Exit\ n "); printf (" *\ n "); printf ("\ n ") } / * / void main () {int njue f While (1) {do {menu (); printf ("Please enter the sequence number you need to operate (1-8):\ n"); scanf ("% d", & n); if (n > = 1 roomn)
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.