Question: Write an object-oriented C++ program for Text Editing. The program should have the following features: To open a text file and show its contents
Write an object-oriented C++ program for Text Editing. The program should have the following features: · To open a text file and show its contents on the screen.
· To count and print total number of characters, words and lines of the text in the file.
· To insert new text at a particular position in the text file.
· To delete text from a particular position in the text file.
· To search/find a word in the text file.
· To replace a word in the text file.
· To save the modified text file.
Write an interactive, command-driven program to test your Editor.
Step by Step Solution
3.34 Rating (151 Votes )
There are 3 Steps involved in it
Solution Source Code include include include include include using namespace std class Fileoperation private string Fname10 string Lname10 string gender6 public int FileCheck fstream intesttxt if inis... View full answer
Get step-by-step solutions from verified subject matter experts
