Question: Task # 2 . Write c / c + + program ( myprog 2 . c or myprog 2 . cpp , and its executable

Task #2. Write c/c++ program (myprog2.c or myprog2.cpp, and its executable named myprog2), listing all the files anddirectories created in Task#1(you may use Is or find command here),(1) to output a C/C++ program (myprog3.c or
myprog3.cpp, and its executable named myprog3) which will delete all the files and directories when it is run, (2) to
compile and run this program (myprog3.c or myprog3.cpp) to delete all the files and directories, and (3) to show all the
deletion done (by listing all the files and directories after the deletion - by showing that there is no files and directories).
All of these will be done by running myprog2 program (via system call).
Copy and paste your program listing (myprog2.c or myprog2.cpp) here
cs3377 Section
Name:
netID:
 Task #2. Write c/c++ program (myprog2.c or myprog2.cpp, and its executable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!