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;
ExpandDiskEdit
fantom
map := [:]
DiskEdit
clojure
(def m {})

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