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:
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 continueStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started