In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-20 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.