我正在尝试在C++中创建一个函数,该函数可以根据提供的名称创建一个新的整数类型变量
例如
void my_variable(char name)
{
int "something here" = 1; // i am figuring out what to write
// there so that it makes a variable from that character that i have sent
cout << "something here";
}