yeh why not
mano M <[EMAIL PROTECTED]> wrote: Can we allocate 2D array
(dynamically) in one line.
int **p;
int i,j;
std::cin>>i>>j;
p=new int[i][j];
----------------
------------------
----------------
delete [][]p;
Is the above code snippet acceptable?
Thanks,
Manoj
---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!
[Non-text portions of this message have been removed]
---------------------------------
Once upon a time there was 1 GB storage in your inbox. Click here for happy
ending.
[Non-text portions of this message have been removed]