7.8) Exercise 14
Open example program mapdemo.cpp in your text editor. Notice how it creates a map of strings onto strings and uses []
to insert key-value pairs into the map. Notice how it also uses the find
method to check whether a particular key is present.
Compile and run the program. Make sure you understand what it is doing.