Question: Write a c + + 1 1 code with header file and cpp file. Write 1 abstract class named file and 3 derived classes:directory, soft
Write a c code with header file and cpp file. Write abstract class named file and derived classes:directory, soft linked file and a regular file. It will work like a operating system shell. when user write ls it will lists the contents of the current directory. When user write cp it will Copies the source file to the destination file. When user write cat, it will types the file contents on the screen. myshell
D Dec :
mkdir myDir
D Dec :
D myDir Dec :
cd myDir
D Dec :
D Dec :
omeFile.
D Dec :
D Dec :
F SomeFile Dec :Bytes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
