Hello,
I need an alternative for PHP`s $$variable in C++.
(In PHP variables go by $variable_name, if you call a variable with an additional "$", you get the content of the variable named as the value of $variable_name.
Example:
$var1 = 'Music';
$Music = 'Rock';
print $$var1 will output Rock)
I need that in C++.
Is there any ?
Thanks.