Question: Use C/C++ to simulate a file directory system to support following commands: login: user login dir: output all subdirectories and files under current directory mkdir:
Use C/C++ to simulate a file directory system to support following commands:
login: user login dir: output all subdirectories and files under current directory mkdir:
create a new directory cd: change directory create:
create a new file delete: delete a file read: read a file write: write a file
2) implements read/write protection.
Your program should allow the user to type the above commands in a terminal after login, and you may also let the user directly input file content in the terminal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
