-C language staff management system to achieve the application layer source projects

Code is uploaded to Git Hub, we are interested can refer to https://github.com/huiji12321/staffing_Sys ;

 

Empty himself down for four months, finally finished a systematic study of the basic curriculum embedded, although there is still a long way to go, but Long March has finally taken the first step.

Write blog gradually lost its original technology accumulated original intention, became the place to motivate yourself (Tucao play with blood), be regarded as entry-comrades and cheer together.

 

Should be a learning task unit, wrote an online employee management system, regarded as the basic realization of functions, it uses learned earlier data sets, multi-process, network programming and concurrent server and file IO and other knowledge,

Be a small demo application layer integrated bar code, posted lower demand, beginners are interested, you can write, you can write the reference code link above, as they grow together,

 

Project Name: Employee Management System
project requirements: Using TCP coordination, respectively, to complete client and server-side code, the client sends demand, server side data processing and returns the result

Demand clients
a distinguished staff privileges (administrators and ordinary users)
2. Use the account password, ordinary users can view my information, can be modified, name, age and other personal information
administrator can view all the information
the server needs
1. According to customer information transmitted, the information structure parses and executes a corresponding data processing
2. concurrent server mode

Other:
employee information includes: employee number, user name, telephone number, address, age, salary, employee rating 7, and employee wages for the average user ratings Read Only

Client:
1. Log

2. Function
① administrator
******************************************** *****************
* 1: query 2: Amendment 3: add users 4: delete user 5: query history
* 6: exit *
******** ************************************************** ***
Find
********************************************** ***************
******* 1: Find by name 2: Find all 3: exit
**************** *********************************************
modify
**** *************** Please enter the options you want to modify ********************
****** 1: name 2: Age 3: 4 home address: telephone ******
****** 5: position 6: wage 7: 8 entry date: rating ******
****** 9: password 10: exit *******
*************************************** **********************
add

delete

History
Enter your choice (digital) >> 5
msg-> recvmsg:. 2019-3-24 21:54:32 --- --- Administrator admin admin added xiaohui user
msg-> recvmsg: 2019- 3-25 12:10:15 --- lisi --- lisi modify the job number for the 1002 telephone 119. the
ADMIN query history ended!


② ordinary users
*********************************************** *********
************* 1: query 2: Amendment 3: exit *************
****** **************************************************
Inquire

Modify
*********** Please enter the options you want to modify (For additional information, please contact the administrator pro) ******
*********** 1: Home Address 2: telephone 3: password 4: exit ***********
******************************** ******************************

Guess you like

Origin www.cnblogs.com/huiji12321/p/11757144.html