How to resize array in C++?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/756906/can-you-resize-a-c-array-after-initialization">Can you resize a C++ array after initialization?</a>  </p>
</blockquote>



<p>I need to do the equivalent of the following C# code in C++</p>

<pre><code>Array.Resize(ref A, A.Length - 1);
</code></pre>

<p>How to achieve this in C++?</p>
