Hello, this is a C++ OS project that we have, the .doc file explaining what you should do exactly is attached, as you will see in there, there’s a skeleton (sample.zip file also attached) and in that sample file/Skeleton there are some TODO comments that tell you what you should do/write. Make sure to fill in the TODOs and add comments explaining what you did.
Please note: by default the skeleton programs will give you errors when you run them. This is because they are accessing unallocated, unattached regions of shared memory. Itâ€™s your job to fill in the appropriate functionality in the skeleton, de-noted by the TODO comments, in order to make the programs work,
“The skeleton codes for sender and receiver are attached. The files are as follows:
â€¢ sender.cpp: the skeleton code for the sender (see the TODO: comments in order to find out what to fill in)
â€¢ recv.cpp: the skeleton code for the receiver (see the TODO: comments in order to find out what to fill in).
â€¢ msg.h: the header file used by both the sender and the receiver “
â€¢ This assignment MUST be completed using C++ on Linux.
â€¢ Write a README file (text file, do not submit a .doc file) which contains
â€“ The programming language you used (i.e. C or C++).
â€“ How to execute your program.
â€“ Anything special about your submission that we should take note of.
Grading for this assignment:
Design of your program: 10â€™
(1) Write in a document called â€œDesign of Sender and Receiverâ€.
(2) Resource for Design Part:
â€¢ Program compiles: 5â€™
â€¢ Correct use of message queues: 25â€™
â€¢ Correct use of shared memory: 25â€™
â€¢ Program deallocates shared memory and message queues after exiting: 10â€™
â€¢ Correct file transfer: 5â€™
â€¢ Correct signal handling: 5â€™
â€¢ All system calls are error-checked: 5â€™
â€¢ README file: 10â€™
(1) List your team membersâ€™ Names, Section Numbers, and Emails
(2) How to run your program (platform, commands in each step and a screenshot of one testing)
(3) How did your team collaborate on your projects? Illustrate each memberâ€™s contribution.
Everything needed is attached!
please read the .docx carefully and fill in the TODOs in the Sample file programs where it says “TODO: and tells you what to do.”
most of the work is already done just fill the gaps the starter code 🙂
it really shouldn’t take long.