title: Is it possible to create an array of unspecified length AND size in c++?
body: <p>So  i wanted to create an array that is nXn dimensions. I know it's possible to do it with one dimension but can I do it with two ? Here is my code : the list_length is defined above as an int number and its a sum of rows in a txt file.</p>
  <pre><code>while (row_size_t==false)
  {
      cout &lt;&lt; &quot;How many rows?&quot; &lt;&lt; endl;
      cin &gt;&gt; rows;
      if (rows&lt;=0)
      {
          cout &lt;&lt; &quot;wrong value&quot; &lt;&lt; endl;
      }
      else
      {
          row_size_t = true;
      }
  }
  int* joker_array = new int [list_length][rows];
  </code></pre>