Hello everybody.
I am in need of an answer. How can I use the text from a string and use it as a variable's name?
For example:
I have an array: int xyz[] = new int[5];
And say I want to check if it's name is the same as a string:
if("xyz" == my_array's_name):
//do something
And for that matter how can I do the opposite, that is to get a variable's name and store it as a string.
Thank you in advance!