View Problem

Define an empty map

DiskEdit
ruby
map = {}
ExpandDiskEdit
cpp C++/CLI .NET 2.0
Hashtable^ hash = gcnew Hashtable;
ExpandDiskEdit
cpp C++/CLI .NET 2.0
Generic::Dictionary<String^, String^>^ dict = gcnew Generic::Dictionary<String^, String^>();
ExpandDiskEdit
cpp
std::map<int, std::string> m;

Submit a new solution for ruby, csharp, or cpp
There are 23 other solutions in additional languages (clojure, erlang, fantom, fsharp ...)