Question: C++ input1.txt input2.txt In this homework, you will be tasked with creating functions to manipulate strings that come from files and then outputting the strings

C++

C++ input1.txt input2.txt In this homework, you will be tasked with creatingfunctions to manipulate strings that come from files and then outputting the

input1.txt

strings to another file. All of these functions are housed together in

input2.txt

a menu. The user will be asked to input a file name

In this homework, you will be tasked with creating functions to manipulate strings that come from files and then outputting the strings to another file. All of these functions are housed together in a menu. The user will be asked to input a file name and then their menu selection. The menu is this: . Get rid of white space 2. Print amount of characters in the file 3. Print amount of words in the file 4. Replace all vowels with 3's 5. Print the file lines in reverse order nput will look like this: "input1.txt 2". You can assume there will be no numbers in the input files. Make sure that you have variables to store both the input file name and the integer selection. Menu Items Explained . Delete all spaces between words and print that to the new file, line-by-line 2 Count the number of characters in the whole file, not including spaces, and print that to the new file 3. Count the number of words in the whole file and print that to the new file 4. Replace all vowels with 3's and print that to the new file, line-by-line 5. Given the order of the file lines (Ex:1 2 3), print to the new file the reverse (Ex: 3 21) There should be nothing printed to the console, all input is taken from one file and outputted to another file! The output file should be named output.txt! input1.txt hello world this is a super fun test homework four is a lot of fun ladies how do we feel can i get a yeeHaw please and thank you brethren go coogs e a great night because it is a lit time brothers n sisters input2.txt ello this is a testing file again i hope everyone is having a good night just so much fun

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!