title: Allocate a new bool array pointer
body: <p>I'm curious how you go about allocating a new boolean array pointer in c++. I did some looking around but couldn't find anything that is similar to how I've learned to allocate new pointers.</p>
  
  <p>To allocate a new int pointer I have learned to do</p>
  
  <pre><code>int * intPointer = new int;
  </code></pre>
  
  <p>What would be the proper way for a boolean array? I've tried:</p>
  
  <pre><code>bool * boolArr[] = new [] bool;
  </code></pre>
  
  <p>but I get the error "expected type-specifier before '[' token</p>