On 08/13/2010 01:17 AM, dcoder wrote:
Hello. How do you declare and initialize a map that looks like the following:
Name => [ Personal Info]
Where personal info is type string[string].
I can't get this to compile. I'm wondering what I am doing wrong:
import std.stdio;
void main() {
in
== Quote from dennis luehring (dl.so...@gmx.net)'s article
> Am 13.08.2010 01:17, schrieb dcoder:
> string[string][string] leaders
> or try using alias to "see" the light
> alias string[string] city_info;
> city_info[string] leaders;
Ah, thanks.
string[string[string]] maps type string[string] as
Am 13.08.2010 01:17, schrieb dcoder:
string[string][string] leaders
or try using alias to "see" the light
alias string[string] city_info;
city_info[string] leaders;
Hello. How do you declare and initialize a map that looks like the following:
Name => [ Personal Info]
Where personal info
Hello. How do you declare and initialize a map that looks like the following:
Name => [ Personal Info]
Where personal info is type string[string].
I can't get this to compile. I'm wondering what I am doing wrong:
import std.stdio;
void main() {
int[string] helloworld = [ "Hello":0, "World