Question: C++ Programming... Create a program that counts the number of vowels in a file. Requirements: User must specify the name of the file to analyze

C++ Programming...

Create a program that counts the number of vowels in a file.

Requirements:

User must specify the name of the file to analyze when the program is run. If not an error should be generated. Use constants where appropriate.

Use I/O (stream) manipulators to format the output so that it is identical to the example below

Example:

C++ Programming... Create a program that counts the number of vowels in

Notice in the pic above how the program was run. It wasn't clicked on but instead it was run from a console window that was opened first. Notice how both the exe (VowelCounter.exe) and the file to analyze (Constitution_of_the_United_States.html) are in the same folder (aka directory) and used together on the command line of the console window.

C: \Users \John\Documents\Visual Studio 2017\Projects\ITCS2530\VowelCount\Release>VowelCount.exe Constitution_of_the_United_States.html nalyzing file 'Constitution_of_the_United_States.html 2076 The number of A's: The number of E's: The number of I's: Press any key to continue

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!