- or download this
my %hash;
$hash{A}{A} = 1;
...
foreach my $k (keys %{$hash{B}}) {
print "$k - $hash{B}{$k}\n";
}
- or download this
#include <map>
#include <string>
...
cout << i->first << " - " << i->second << "\n";
}
}
- or download this
using System;
using System.Collections.Generic;
...
}
}
}
- or download this
my %hash;
%hash{"A"}{"A"} = 1;
...
for %hash{"B"}.kv -> $key, $value {
say "$key - $value"
}
- or download this
using System;
using System.Collections.Generic;
...
}
}
}