title: Use the index in naming variables during a cycle C++
body: <p>I need a tip in creating a C++ utility.
  I'm implementening an optimization algorithm, and at a certain step, I would need to create as much new variables as the iterations of a cycle.
  There's some code that would explain it better:</p>
  
  <pre><code>for(int i=1;i&lt;112;i++){
     struct nodo n_2i[111-i];           
  }
  </code></pre>
  
  <p>The structure nodo is defined as:</p>
  
  <pre><code>struct nodo{
    int last_prod;
    int last_slot;
    float Z_L;
    float Z_U;
    float g;
    bool fathomed;
  };
  </code></pre>
  
  <p>I would like the names of the new variables (arrays of structures) to be n_21,n_22,n_23,...etc.
  How can I handle that?</p>