Question: Part 3 ( C / C + + Programming ) using system function call to execute a shell command. You will do here what you

Part 3(C/C++ Programming) using system function call to execute a shell command.
You will do here what you did in Part2, using CC++ program and system() call.
Part3.
Task #1. Write a C/C++ program (myprog l .c or myprog l.cpp, and its executable named myprog 1) to create a few directories as shown below in your current directory (dirl, dir2), a few files (filel in current directory, file 10 in dirl, file20 in dir2, and a symbolic-link link 1(to link to file20).
You are going to create the files and directories in depth-first order (and left to right). That is, dirl will be created first, then file 10, and so on. You should create link1(a softlink to file20) after file20 is created.
14
15
16
Copy and paste your program listing (myprog l.c or myprog 1.cpp) here
17
18
19
 Part 3(C/C++ Programming) using system function call to execute a shell

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!