Write a c + + 1 1 ?code ( that works in ubuntu ) . Simple Operating
Question:
Write a c ?code that works in ubuntuSimple Operating System Shell that can handle only some file operations. OS will have at most MB disk space. This OS space should be kept between the shell runs, it should not be deleted, it should remember the disk contents of the provious run. Write abase abstract class file. The class will have as many generic implementations are possible. There are three concrete file classes: directory, soft linked file and a regular file. Each file type provides an iterator that gives the file elements one by one. For regular files and the linked files, the entries are regular file bytes. For directories,the elements are directory entries.The commands, their parameters and definitions are given below. Make sure that your c ?code working.myShell
D ?Dec :
?mkdir myDir
D ?Dec :
D myDir ?Dec :
?cd myDir
?ls
D ?Dec :
D ?Dec :
?SomeFile.
?ls
D ?Dec :
D ?Dec :
F SomeFile Dec :Bytes
The commands, their parameters and definitions are given below