You could set the values at the beginning of main. You could create a function that returns a map initialized with the data and initialize the map before main.
map<std::string, int> globals =...
Type: Posts; User: anon
You could set the values at the beginning of main. You could create a function that returns a map initialized with the data and initialize the map before main.
map<std::string, int> globals =...
You can't have anything but declarations outside of functions.