Declare Vector with String as Name

If I have a string with a name or word in it, how do I go about declaring a vector with the string's contents as its name?


Also, how do I check when I declare the vector if a vector of the same name already exists?
You can't declare a vector with the identifier (or name) being another variable, how would you access it? You'd never be certain of its name (even if its a constant, in which case you might just write the name directly).

And if you have 2 vectors with the same name, unless they're in different scopes, you'll get a compiling error
Topic archived. No new replies allowed.