Answer to Question #54108 in C++ for Guruwinder
(1) write a c++ code which reads the contents of a text file "first_file.txt"
(2) write a function named vowel_words () which will segregate the words starting with vowels from the "first_file.txt"
(3) write a c++ code which writes the resultant words to the output file ,"second_file.txt".
Example: content of first_file-"I am going to buy an umbrella "
Output in second_file.txt-Iam an umbrella
using namespace std;
for (auto s:vs)
for (string s;in>>s;)
for (auto s:vowel_words(vs))
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!