How do I fix this error message error: no match for ‘operator[]’
I am implementing a class that involves unordered_sets, and unordered_maps. When I go to run the program it gives me the following error error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<std::__cxx11::basic_string<char> >’ and ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’}) int points = Prizes[Codes[code]]->points; I am unsure of how to fix this, please help. I have… Read More How do I fix this error message error: no match for ‘operator[]’