Answered step by step
Verified Expert Solution
Question
1 Approved Answer
looking at this template. how do i add the functions asked of me below each of the comments? looking at this template. how do i
looking at this template. how do i add the functions asked of me below each of the comments?
looking at this template. how do i add the functions asked of me below each of the comments?
File Edit View Build Tools Project 2 Debug_Test Analyze Debug x86 Extensions Windoy Local Windows Deby dictionaryADT. Dictionary.h + X Abagh bagtestmain.cpp kvpair.h + Lab1 . (Global Scope) virtual bool insert(const Key& const E& ) - ; 17 Looks for a record using the key and if found does the following: 11 - updates the E& rtnval 11 . removes the record from the dictionary 11 - returns true // If the record is not found the function returns false. virtual bool remove(const key& k, E& rtnval) - ; 1 Takes an arbitrary record from the dictionary and does the following: 1/ - updates the E& returnValue 11 - removes the record from the dictionary // - returns true // If the dictionary is empty the function returns false. virtual bool removeAny (E& returnValue) - @; 1 I Looks for a record using the key and if found does the following 11 - updates the E& returnValue // - returns true // If the record is not found the function returns false. virtual bool find (const Key& k, E& return value) const - // Return the number of records in the dictionary. virtual int size() - @; Tend 0 % - x 1 AO eady In 1 Col 1 2 Ch 1 NI File Edit View Build Tools Project 2 Debug_Test Analyze Debug x86 Extensions Windoy Local Windows Deby dictionaryADT. Dictionary.h + X Abagh bagtestmain.cpp kvpair.h + Lab1 . (Global Scope) virtual bool insert(const Key& const E& ) - ; 17 Looks for a record using the key and if found does the following: 11 - updates the E& rtnval 11 . removes the record from the dictionary 11 - returns true // If the record is not found the function returns false. virtual bool remove(const key& k, E& rtnval) - ; 1 Takes an arbitrary record from the dictionary and does the following: 1/ - updates the E& returnValue 11 - removes the record from the dictionary // - returns true // If the dictionary is empty the function returns false. virtual bool removeAny (E& returnValue) - @; 1 I Looks for a record using the key and if found does the following 11 - updates the E& returnValue // - returns true // If the record is not found the function returns false. virtual bool find (const Key& k, E& return value) const - // Return the number of records in the dictionary. virtual int size() - @; Tend 0 % - x 1 AO eady In 1 Col 1 2 Ch 1 NI Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started