Skip to content

This is a simple text editor, which requests the user to enter the file name (File to be modified) Subsequently, the system checks whether a file with the same name exists in the directory where the main.CPP is or not. In case the file exists in the pre-told directory, The menu will be displayed. Unless the file exists, The system creates a new …

Notifications You must be signed in to change notification settings

Fady-K/Text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-editor

This is a simple text editor, which requests the user to enter the file name (File to be modified) Subsequently, the system checks whether a file with the same name exists in the directory where the main.CPP is or not. In case the file exists in the pre-told directory, The menu will be displayed. Unless the file exists, The system creates a new file with the given name. Thereafter the system displays a menu to the user with a variety of options.

UI

System asks for the file name (file to be modified)

Enter file name: If the file already exists, the system prints the following message:

#################This File Already Exits#################

IF it's a new file, the system prints another message:

#################This A new file, I Created For You#################

menu:

!! Welcome !!

  1. Add new text to the end of the file
  2. Display the content of the file
  3. Empty the file
  4. Encrypt the file content
  5. Decrypt the file content
  6. Merge another file
  7. Count the number of words in the file.
  8. Count the number of characters in the file
  9. Count the number of lines in the file
  10. Search for a word in the file
  11. Count the number of times a word exists in the file
  12. Turn the file content to upper case.
  13. Turn the file content to lower case.
  14. Turn file content to 1st caps (1st char of each word is capital)
  15. Save
  16. Exit

Your choice:

About

This is a simple text editor, which requests the user to enter the file name (File to be modified) Subsequently, the system checks whether a file with the same name exists in the directory where the main.CPP is or not. In case the file exists in the pre-told directory, The menu will be displayed. Unless the file exists, The system creates a new …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published