13,824
社区成员
发帖
与我相关
我的任务
分享
#include <hash_map>
#include <map>
#include <vector>
#include <Generics.collections.hpp>
#include <iostream>
hash_map<const char*, int, hash<const char*>, eqstr> months;
months["january"] = 31;
months["february"] = 28;
months["march"] = 31;
months["april"] = 30;
months["may"] = 31;
months["june"] = 30;
months["july"] = 31;
months["august"] = 31;
months["september"] = 30;
months["october"] = 31;
months["november"] = 30;
months["december"] = 31;