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++11 code with header file and cpp file. Write 1 abstract class named file and 3 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
>1s
D., Dec 25,00:42
> mkdir myDir
>1s
D., Dec 25,00:42
D myDir , Dec 25,00:44
> cd myDir
>1s
D., Dec 25,00:44
D.., Dec 25,00:42
>cpetcSomeFile.
>1s
D., Dec 25,00:44
D.., Dec 25,00:42
F SomeFile Dec 2500:4525345Bytes
 Write a c++11 code with header file and cpp file. Write

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!