Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CPSC 351 Project 1 (100 points) This project can be done individually or in a group of maximum 3 people. For a group of 2

image text in transcribed
CPSC 351 Project 1 (100 points) This project can be done individually or in a group of maximum 3 people. For a group of 2 or 3, each of the group members needs to submit, even though the code will be the same for all the members of the group. All members of the group will get the same grade. If one group member fails to submit that person gets 0. Indicate in an additional txt file, the names and email ids of members in the group. If working individually indicate in the txt, your name and email id. Goal: In popen.cpp, we saw how to Launch the hash program md5sum to compute the MD5 hash of a file named /bin/s. Also, to get a file pointer representing the output stream of the program In this project, you should read in the file name from the terminal. The given skel.cpp runs a for loop over a set of hash programs. In each iteration of this for loop, a child process is forked. The child calls a function to compute the respective hash (as specified by the hash program) of the file name. The parent communicates with the child using pipes. Starter code is provided to you in skel.cpp A lot of hints are also provided in skel.cpp. You should add your code to the given starter code, wherever the comments point you to do that. Over and above that you should remember to add code where it is important for completing any task (the comments may not always be provided for everything). Hint: A lot of the code draws from popen.cpp and double_pipe.cpp. FILES TO BE SUBMITTED 1) skel.cpp (completed with your code) 2) txt file with namels and email id/s Blurb for your resume Use your GitHub account as a ready-to-show portfolio of your programming projects to potential employers

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions

Question

4. What will the team agreement contain?

Answered: 1 week ago

Question

What are the main objectives of Inventory ?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago