title: Java ArrayList converted to C++
body: <p>I have an ArrayList</p>
  
  <pre><code>ArrayList[][] gridList = new ArrayList[300][150];
  // Where a and b are some values in the range of the ArrayList.
  ArrayList al = this.gridList[a][b];
  </code></pre>
  
  <p>How could this be translated to C++ ??
  I've tried using std::vector or std::map, std::array.
  I just can't get it to work.</p>
  
  <pre><code>ArrayList al = this.gridList[a][b];
  </code></pre>
  
  <p>What does that line actually do?</p>
  
  <p>Does it create an array of size ??</p>
  
  <pre><code>ArrayList al = new ArrayList[a][b]
  </code></pre>
  
  <p>or maybe it copies the values of "a" and "b" in to the new ArrayList "al" ?</p>
  
  <p>Please help</p>