title: How to declare a variable using another variable?
body: <p>I'm trying to make a function in <strong>C++</strong> that can make a new <strong>integer type variable</strong> according to the name that has been provided </p>
  
  <p>for eg </p>
  
  <pre><code>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 &lt;&lt; "something here";
  }
  </code></pre>