• A program to track factory worker payroll from
8 AM to 5 PM, with one hour lunch break at 12
noon.
• Workers are paid by hour.
• Use pipe, standard I/O, file I/O, fork , exec ,
and interprocess communication, or threads.
• Program input from stdin):
• a list of factory worker IDs separated by spaces, ended by a new line.
For example,
• 12345 23456, 34567, <etc>.
• a list every 30 minutes, from 8:00 to 17:00, except at 12:30 PM.
• format: date, Wme and followed by worker IDs separated by spaces, all in one
line. For example,
• 6/14/2015 8:00 12345 23456 … <etc>. IDs may not be sorted.
• Program output to stdout):
• hourly pay list from 9:00 to 12:00 and 14:00 to 17:00. Same format as
input, but must sort the employee IDs.
• two halfVhour work can earn oneVhour pay at the hour mark of the 2nd
halfVhour.
• daily total at the end of the day, a list of column separated employ ID
and hours.
• format: date ID:hour pairs, in one line, sorted by employee ID. For example,
• 6/14/2015 12345:8 23456:3 34567:0 … <etc>.
• Your program must spawn a child process to tally up the daily pay.
• Your program will be checked by running this command:
• compileyourprogram; ./yourprogram < inputfile > outputfile;
diff outputfile submieedoutputfile
Hi, there! I'm relatively new to freelancer.com but I go way back with programming. I'm an expert C developer and I can do this project for you easily. You may visit my profile to see what previous employers had to say about me or drop me a private message to talk more about this project. Hope to hear from you soon. Have a good day!
Fri, 24 Jul 2015 14:14:21 +0530
1. Is input file a list for half hour starting or ending?
2 In any case, 8.00 hour list must point to hour starting and 17.00 hour list to the hour ending.
3 Any cross check with previous half hour list required for halfVhour markers ?
4 output a different list for each hour ? HalfVhour (first) is to be counted in hourly output (as 1/2 hour)
5 Sample data and text files (including halfVhours) will be helpful
I have developed almost similar software for one of my Indian Client I am enclosing screen shot in message
Customization as per your requirements can be done
have experience of more than 18+ years in Software Development
Developed many software
I have written text processing Linux command line applications for 20 years. While I'm new to freelancer, I am not new to software. Additionally, I can read between the lines of the request and I will take responsibility for problems and get the job done to the client's satisfaction.
This is really a easy program. Can C++ be used in the programe? There are some STL template to ease the sort work.
If you can provide the specific version of OS, it could be better. Otherwise, the C program compliled in my machine may fail to compile in yours.
What is halfVhour?
An example in input and output file could explain more clearly about the format.
Experience in Coding in many Languages.
Detailed Evaluation of requirements for the Projects
Constant communication
Support for the Project Delivered for 3 months