On Wed, Apr 25, 2012 at 11:55 PM, Era Scarecrow <rtcv...@yahoo.com> wrote:
> On Wednesday, 25 April 2012 at 17:52:36 UTC, bioinfornatics wrote: > >> i search some example of something easy (more easy) to do in D an not >> in another language if possible >> - D - C++ >> - D - Haskell >> - D - Java >> - D - python >> >> thanks a lot >> > > Associative arrays? > > C++: > #include <map> > #include <string> > > map<string, string> m; > > You actually want unordered_map<string, string> if you want the equivalent of D's string[string]. Regards, Brad Anderson