Skip to content

Salma-Mamdoh/Text_Editor-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text_Editor Program

This project is an application for file handling in c++

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.

  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.

About

Our project for Structured Programming Course taken during fall 2022 semester

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages