Implement a dictionary using a BagProject 4.7 in the text (modified)
Use the bag ADT provided to create an array-based implementation for bags. Then use your bag to implement the dictionary ADT provided you. This means you have to implement your dictionary using the bag functions.
Test your bag and dictionary implementations with the bagtestmain.cpp file I've provided for you. If you are not able to fully implement all the functions of the dictionary and/or bag, you may modify the tests in bagtestmain.cpp to only exercise those functions you were able to complete.
You will only get credit for those methods you test and display, so be sure you don't leave any out.
Also, you cannot add any public functions to your bag and dictionary implementations beyond those specified in the ADTs, though you may add private functions if you want.
Put the following files into a zip file named student_name_Bag_Assignment and submit them to Blackboard:
ABag.h // Your bag-array implementation which must inherit the Bag class
BDictionary.h // Your Dictionary-bag implementation which must inherit the Dictionary class
bagtestmain.cpp // The test driver I have provided for you
bagADT.h// The bag ADT I gave you - it should be unchanged
dictionaryADT.h// The dictionaryADT I gave you - it should be unchanged
kvpair.h// The kvpair class I gave you - it should be unchanged
Screen Shots // Word document with screen shot(s) and integrity statements showing all of your program's output.
Approach.doc// This is a Word document where you explain how you implemented your solution and how you tested each required function.
Any other .cpp and/or .h files that comprise your project (I need all the .cpp and .h files used in your project).
Your_dictionary.exe//Your executable file.***
Note: If your ABag does not inherit Bag and/or BDictionary does not inherit Dictionary, you will not receive any credit for your work. If you use the templates I've provided (ABag.h and BDictionary.h) the inheritance is already done for you.
*** If you completed your assignment using Visual Studios you must use Visual Studios 2017 and I would like you to submit your entire VS project directory.
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.