|
Practice Exercise 13 Searching |
![]() |
| The objective of this program is to gain experience using file access and searching techniques. The text file referenced below contains a list of words, one word per line. Write a program that will read these words into a dynamic array. Once the list of words has been read in, condense the list by removing any duplicate occurrences of a word. You can use the following code snippet to read the words into your array:
Once you have read in the list of words, build a list of unique words. Use a pair of nested for loops. The pseudo-code looks like: |