Question: (C/C++ Programming) using system function call to execute a shell command. You will do here what you did in Part2, using C/C++ program and system()

 (C/C++ Programming) using system function call to execute a shell command.

(C/C++ Programming) using system function call to execute a shell command. You will do here what you did in Part2, using C/C++ program and system() call. Task #1. Write a C/C++ program (myprog1.c or myprog1.cpp, and its executable named myprog1) to create a few directories as shown below in your current directory (dir1, dir2), a few files (file1 in current directory, file10 in dir1, file20 in dir2, and a symbolic-link link1 (to link to file20). You are going to create the files and directories in depth-first order (and left to right). That is, dir1 will be created first, then file10, and so on. You should create link1 (a softlink to file20) after file20 is created. Copy and paste your program listing (myprog1.c or myprog1.cpp) here ____________ Copy and paste the run of you're here __________

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!