computer science assignment c,c++
$./empdb Please enter the main file's name: incorrect.txt INPUT FILE DOES NOT EXIST...... EXITING $./empdb Please enter the main file's name:input.txt employee.csv Employee Processing Employee table. Inserted (1,john,smith,1234567890,5000.00,manager,abc.gmail.com,100) into Employee Inserted (2,david,miller,1234567890,6000.00,analyst,abc2.gmail.com,200) into Employee Inserted (3,mary,williams,1234567890,5500.00,sales,abc3.gmail.com,300) into Employee Inserted (4,nancy,taylor,1234567890,7000.00,clerk,abc4.gmail.com,400) into Employee department.csv Department Processing Department table. Inserted (10,business,denton,1,50) into Department Inserted (100,research,newyork,2,60) into Department Inserted (200,sales,houston,3,70) into Department Inserted (300,hr,austin,4,50) into Department Inserted (400,research,dallas,1,80) into Department project.csv Project Processing Project table. Inserted (10,1,empdb,10/01/20,10/15/20,0.5) into Project Inserted (20,2,empdb2,10/5/20,10/20/20,0.3) into Project Inserted (30,3,empdb3,10/15/20,11/01/20,0.6) into Project Inserted (40,4,empdb4,10/25/20,11/15/20,1.0) into Project DISPLAY ------------------------------------------------------------------- Employee ------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------ empId firstName lastName phone salary job email departId 1 john smith 1234567890 5000.00 manager abc.gmail.com 100 2 david miller 1234567890 6000.00 analyst abc2.gmail.com 200 3 mary williams 1234567890 5500.00 sales abc3.gmail.com 300 4 nancy taylor 1234567890 7000.00 clerk abc4.gmail.com 400 ---------------------------------- Department ---------------------------------- -------------------------------------------------------------------------------- departId name location mgrId admrDepartId 10 business denton 1 50 100 research newyork 2 60 200 sales houston 3 70 300 hr austin 4 50 400 research dallas 1 80 ------------------------ Project ------------------------ --------------------------------------------------------- projId empId projName startDate endDate empTime 10 1 empdb 10/01/20 10/15/20 0.5 20 2 empdb2 10/5/20 10/20/20 0.3 30 3 empdb3 10/15/20 11/01/20 0.6 40 4 empdb4 10/25/20 11/15/20 1.0 Inserted (5,elon,musk,0123456789,10000.00,analyst,abc10.gmail.com,200) into Employee Inserted (500,engineering,fortworth,1,50) into Department Inserted (50,1,tesla,1/1/20,6/1/20,0.8) into Project Inserted (20,bill,gates,0123456789,10000.00,programmer,abc10.microsoft.com,300) into Employee Updated (400,research,dallas-fortworth,1,50) into Department Updated (40,1,updatedDb,1/1/20,6/1/21,0.4) into Project Failed to Update (999,bill,gates,0123456789,10000.00,programmer,abc10.microsoft.com,300) into Employee No entries match query (500,engineering,abc,1,50) in Department Found (5,elon,musk,0123456789,10000.00,analyst,abc10.gmail.com,200) in Employee Found (40,1,updatedDb,1/1/20,6/1/21,0.4) in Project No entries match query (*,*,test,*,*,*,*,*) in Employee Deleted (30,3,empdb3,10/15/20,11/01/20,0.6) in Project Failed to delete (1000,*,*,*,*) in Department Failed to delete (999,bill,gates,0123456789,10000.00,programmer,abc10.microsoft.com,300) in Employee empId departId 1 100 2 200 3 300 4 400 5 200 20 300 DISPLAY ------------------------------------------------------------------- Employee ------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------ empId firstName lastName phone salary job email departId 1 john smith 1234567890 5000.00 manager abc.gmail.com 100 2 david miller 1234567890 6000.00 analyst abc2.gmail.com 200 3 mary williams 1234567890 5500.00 sales abc3.gmail.com 300 4 nancy taylor 1234567890 7000.00 clerk abc4.gmail.com 400 5 elon musk 0123456789 10000.00 analyst abc10.gmail.com 200 20 bill gates 0123456789 10000.00 programmer abc10.microsoft.com 300 ---------------------------------- Department ---------------------------------- -------------------------------------------------------------------------------- departId name location mgrId admrDepartId 10 business denton 1 50 100 research newyork 2 60 200 sales houston 3 70 300 hr austin 4 50 400 research dallas-fortworth 1 50 500 engineering fortworth 1 50 ------------------------ Project ------------------------ --------------------------------------------------------- projId empId projName startDate endDate empTime 10 1 empdb 10/01/20 10/15/20 0.5 20 2 empdb2 10/5/20 10/20/20 0.3 40 1 updatedDb 1/1/20 6/1/21 0.4 50 1 tesla 1/1/20 6/1/20 0.8 WRITE Processing complete!