fork download
  1. #include <map>
  2. #include <string>
  3. using namespace std;
  4.  
  5.  
  6. typedef enum origin_t{Unknown,USA,Canada,France,England,Italy,Spain,Australia,} origin_t;
  7.  
  8.  
  9. int main()
  10. {
  11. std::map<std::string, origin_t> countries;
  12. countries["Unknown"] = Unknown;
  13. countries["USA"] = USA;
  14. }
Success #stdin #stdout 0.01s 2856KB
stdin
Standard input is empty
stdout

Standard output is empty