how can i create empty array? That means I want to create a array variable without specify the size of the array.
In my program, I wrote:
n1 = q - p + 1;
n2 = r - q;
int L[n1], R[n2];
Unfortunately, c++ only allow constant inside the bracket of the array.
I know it's possible in Java to write :
int L; So, can somebody tell me how to do that in c++?