Unordered associative containers (C++): Difference between revisions

Content deleted Content added
Sample Code: retitle / simplify structure
Example: usage of using namespace std is discouraged
Line 32:
#include <string>
#include <unordered_map>
using namespace std;
int main()
{
std::unordered_map<std::string, int> months;
months["january"] = 31;
months["february"] = 28;