2 Topics
|
|
Hi, I'm new to c++ but I'm having a go trying to create a jagged array int** DATA = new int*[10]; DATA[0] = new int[100]; //this works DATA[1] = new int[100][5]; //but this don't DATA[1][100][1] = 1; Thanks |
|
It keeps telling me there is an error on line 22 when I run the program. Does anyone see the problem. My goal was to create a jagged array where the first block had 3 grades, the second block had 2 grades, and the third block had 4 grades. using … |
The End.