In: Computer Science
Implement a dictionary application using C++ with the following features:
Load a dictionary file.
Given a prefix string that the user specifies, print the first word or all words in the dictionary with that string as their prefix.
Given two strings A and B that the user specifies, replace all occurrences of A in the dictionary file with B.
Spawning a new editor (e.g., vim) to allow the user to modify the dictionary file. Save the dictionary file afterwards.
You must use either C or C++ to implement your dictionary application. All your source code must be put within one (1) file. You will only submit that one file.
Your program should not have any extra library dependencies.
Please provide the coding in C++.
As mention in last 4th line you can either use c or c++
code in c language
Let me know if you have any doubts or if you need anything to change(such as language).
If you are satisfied with the solution, please leave a +ve feedback : ) Let me know for any help with any other questions.
Thank You!
====================================================================