Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions