The user enters the name of the file he wants to deal with then,The program will test if such a file exists or not. If it does, it will display a message: "This File Already Exists" and it will open it for read and write. If it does not exist, it will create a file with the given name and will print a message: "This is a new file. I created it for you ". After that the following menu will be displayed. The user chooses an option to apply and after executing it, the program re-displays the menu till Exit is chosen.
- Add new text to the end of the file.
- Display the content of the file.
- Empty the file.
- Encrypt the file content.
- Decrypt the file content.
- Merge another file.
- Count the number of words in the file.
- Count the number of characters in the file.
- Count the number of lines in the file.
- Search for a word in the file.
- Count the number of times a word exists in the file.
- Turn the file content to upper case.
- Turn the file content to lower case.
- Turn file content to 1st caps (1st char of each word is capital) .
- Save.
- Exit.