Is it possible to access an array index with a string? For example
week["Monday"] = "some value";
I'm trying to read in a Java properties file and want to be able to access each property by its name instead of an index number. I can't use map.h since that's tied to gnu c++.