Question: below is the question with the code but it is giving me an error when i run it. please show detailed steps. Write a C/C++
below is the question with the code but it is giving me an error when i run it. please show detailed steps.
Write a C/C++ program (a1part2task1.c, and its executable named a1part2task1) to create a few directories and files as you have done in Part1. Your executable is named "a1part2task1".
You may use system("command" ) function call to run "command". For detail, check APUE 8.13 (pages 264-269). To change directory, you may use chdir( ) function call along with getcwd( ) function call. For detail, check APUE 4.23 (pages 135-137, and a sample program in Figure 4.24). Also you may use the sample code as a base for your work (available at the end of this document).
Copy and paste your program listing (a1part2task1.c) here
Copy and paste the log of how to compile this program
Copy and paste the run of your program here (./a1part2task1)
here is the program....
#include
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
