Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions