Merging two arrays in a C++ program
<p>I want to merge two arrays into one in a C++ program. For example:</p>

<pre><code>int A[150],B[150];
int C[150][2];
</code></pre>

<p>And I want to have them as column vectors in C. For example in MATLAB I could use C=[A;B]. What is the easiest way?</p>