booooo

boooooo spam!!!!
Last edited on
int arr[][]=new int[c.rowSize ][ c.colSize];
That's not right. What you're looking for is
1
2
int **arr = new int*[c.colSize];
for(int i = 0; i < c.colSize; i++) arr[i] = new int[c.rowSize];

But do take a look at http://www.cplusplus.com/forum/articles/17108/
but the program still isn't returning the array..i think there is some problem with the logic.Anyway thanks hamsterman. really appreciate it.!!!
Topic archived. No new replies allowed.