title: variable number of variables in C++
body: <p>Is it possible to make variable number of variables?  For instance, say I want to declare some unknown number of integers, is there a way to have the code automatically declare</p>
  
  <pre><code>int n1;
  int n2;
  .
  .
  .
  int nx;
  </code></pre>
  
  <p>where x is the final number of variables required.</p>
  
  <p>A potential application requiring this would be reading a .csv file with unknown number of rows and columns.  Right now, the only way I can think to do this without variable number of variables is either a 2D vector, or coding in more columns than possibly can be in any input file the program receives</p>