I'm trying to create an array of empty string vectors, but I can't manage to initialize the vectors to be able to push values into them:
vector <string> v[500];
// vector initializing code
v[0].push_back("hello"); // should work now
Error message is:
'v' does not name a type
How should I initialize so that v[0].push_back() works?