C++

Objectives :

  • myMapclear1.cpp
    map and multimap clearing all elements with map::clear() function
  • code: myMapclear1.txt
 

Step: 1 Create a source file.

Step: 2 Edit and save Source file

 

Step: 3 Runtime Views: clearing map and multimap elements

Step: