Type, compile in C++, and run the following program and turn it in with
Output:
1. Write a program to create a dictionary using doubly linked list. Each record has a word
field up to 10 characters , meaning of the word field up to 20 characters, a pointer to the
next word, and a pointer to it meaning. Your project should have the following capability:
1. Create a dictionary
2. Initially the header is NULL.
3. Read the first word and attach it to the header.
4. Read the word’s meaning and attach it to the meaning pointer.
5. Add 10 new meaning with existing words.
5.1 Travers through that particular Word though all its meaning.
5.2 Attach the meaning of the new word to the meaning of the
existing word at the end of that particular list.
5.3 Attach the new node to the NULL.
6. Add 20 new word with their meaning to the dictionary.
6.1 Attach the last word to this new word.
6.2 Attach the meaning of the new word to the new word.
6.3 Attach both pointer of the new word and it meaning to the NULL
7. Display the meaning of the word, the meaning of the meaning, and the
meaning of the word and so on. This step continues till there is no
further meaning.
8. Display all words with their entire meaning
9. Create a batch file to store the following words with their
meaning.
10.
Word__ Meaning
Many-Majority
Encourage - Inspire
Pretend- Feign
Proem - Preface
Exhibit - Display
Majority - More than half
Feign - Simulate
Inspire - Stimulate
Preface - A short Introductory
Display - Show
Show - Present
Simulate - Fake