2D dynamic array?
Is this the real function for two dimensional dynamic array?
int *a = new int[row];
for(int i; i < row; i++){
a[row] = new int [col]
}
I really dont know. pls. help?
You probably want int i = 0; but other then that...have you tried compiling/testing it? It doesn't seem like it would be too hard to test...
Topic archived. No new replies allowed.