Question: c++ program. thanks! 14) (10 points) A text file words. txt contains a paragraph of text. Write a C++ program that opens the file, reads
14) (10 points) A text file words. txt contains a paragraph of text. Write a C++ program that opens the file, reads all the words in the file and prints on standard output a list of all the words used in the paragraph, with one word per line. Each word must appear only once in the list. The list of words must be ordered alphabetically. It is assumed that the text contains no punctuation and that all words only include lower-case characters for simplicity. Write your program on the back of this page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
