HW5: Write a function to count number of words in a text file named "story.txt". HW6: Write a C++ program to print the count of word (the) as a separate word in a file named transcript.txt. For...


HW5: Write a function to count number of words in a text file named

Extracted text: HW5: Write a function to count number of words in a text file named "story.txt". HW6: Write a C++ program to print the count of word (the) as a separate word in a file named transcript.txt. For example, if the content of the file transcript.txt is: There was a monkey in the zoo. The monkey was very naughty. Then the output of the program should be 2 HW7: Assume that you have a text file nắmed filel.dat contains some text written into it, write a function named vowelwords(), that reads the file filel.dat and creates a new file named file2.dat, to contain only those words from the file filel.dat which start with a lowercase vowel (i.e., with 'a', 'e', 'T', 'b', 'u'). getline() function to read the line from a file.

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here