H
Hyrum Mortensen
Hi,
If I create a structure like this:
map<string, int[2]> myMap;
How do I access the first element of the array? I get a compiler's
error if I try something like this: myMap["foo"][0]
If the above structure is NOT possible, what is something that's
equivalent?
If I create a structure like this:
map<string, int[2]> myMap;
How do I access the first element of the array? I get a compiler's
error if I try something like this: myMap["foo"][0]
If the above structure is NOT possible, what is something that's
equivalent?