Understanding the question
I am having some trouble understanding this question! can someone push me in the right direction!?
Q3- Define a structure type to represent a word list. The structure will contain one string
component for the language of the words (e.g., English, Japanese, Spanish), an integer component
that keeps track of how many words are in the list, and an array of MAX_WORDS 20-character
strings to hold the words.
Define the following functions to work with word lists:
a. load_word_list - takes as parameters the name of an input file and a wordlist structure to be
b. add_word - takes as parameters a word and a wordlist structure to modify. If the wordlist is
already full, it displays the message “List full, word not added.” If the word is already in the
list, it leaves the structure unchanged. Otherwise, it adds the word to the list and updates the list
size. Do not bother keeping the list in order.
c. contains - takes as parameters a word and a wordlist. If the word matches one of the wordlist
entries, the function returns true, otherwise false.
d. equal_lists - takes two wordlists as parameters and returns true if the lists are in the same
language, have the same number of elements, and every element of one list is found in the
other. (Hint: call contains repeatedly.)
e. display_word_list -displays all the words of its wordlist structure parameter in four columns.
Write a program that fills a wordlist from a data file. Then prompt the user to enter a language and
12 words to add to a different list. Then ask the user to enter some words to search for in the first
list using contains, and print a message indicating whether each is found. Use equal_lists to
compare the two lists, printing an appropriate message. Finally, use display_word_list to output