Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started