ForNext
Only Do What Only You Can Do
080. map declaration
Hyperpolyglot C++ Style Languages: C++, Objective C, Java, C# より (2012.05.08)
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
F#
C
C++
#include <map> map<string, int> m;
C++Builder
VC++
C#
using System.Collections.Generic; Dictionary<string, int> dict = new Dictionary<string, int>();
Java
java.util.TreeMap<String, Integer> m = new java.util.TreeMap<String, Integer>();
Objective-C
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:10];