subject
Computers and Technology, 05.11.2019 06:31 gafran

Write a word search program that searches an input data file for a word specified by the user. the program should display the number of times the word appears in the input data file. in addition, the program should count and display the number of characters in the input data file that are not vowels. your program must do this by providing the following functions :

void processfile(ifstream infile, string & word, int & wordcount, int & nonvowelcount) ;
void displayresult(string word, int wordcount, int nonvowelcount) ;
both functions should be called from no non-constant global variables should be used.
test your program using the file provided "paragraph. dat". (name the file paragraph. dat)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
You know the right answer?
Write a word search program that searches an input data file for a word specified by the user. the p...
Questions
question
Mathematics, 26.03.2020 04:30
question
Mathematics, 26.03.2020 04:31
Questions on the website: 13722363