I'm wondering if there is a feature available that will allow you to name variables in a loop based on an array of strings?
Of course this may seem pointless, but not on terms of organization. I could have this array of strings that will later represent my variable names in a header file, while in my CPP I have a nice, small, clean looking loop to name X number of variables.
For example, if I have the following array:
string VariableNames[] = {Cat, Dog, Mouse};
This would later on be put into a loop which creates a variable of a given type named Cat, Dog, and Mouse!
I know there are virtual functions that base their name reference on strings, so I was hoping this would be a possibility. Thanks.
