Convert simple Console application from Multimap to Multiset
$30-5000 USD
Annullato
Pubblicato più di 12 anni fa
$30-5000 USD
Pagato al completamento
Your job is simple - to convert a Multimap structure to a Multiset structure. The Multiset must be implemented using STL's Multiset. This is an extremely simple project and must be done in less than a day due to the assignment being due tomorrow.
In the attached project there is a function called SortDataUsingMultiMap() which sorts the data using a multimap structure. Your job will be to code the function SortDataUsingMultiSet() so that it uses STL's Multiset instead of Multimap. The SortDataUsingMultiSet() routine must produce a sorted list which is in the same order as SortDataUsingMultiMap(). You can verify this by looking at the screen after running the program. The screen should look like the attached [login to view URL] image with the same sorted names in order.
The purpose of this assignment is to see if there are any performance difference by using the Multiset structure in place of the MultiMap structure. You must also write a short explanation of which is better to use in this situation and why.