I've got alot of experience with PHP, and have recently started working with c/c++... I was wondering if it is possible to make a variable whos name is the value of another string variable, in php this would look like:
$var = "var2";
${$var} = "hi";
that would make the variable $var2 have the value of hi... If this is possible in c/c++ can someone please tell me how to do it?