2 Topics

Member Avatar for
Member Avatar for saxon84

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

Member Avatar for deceptikon
0
3K
Member Avatar for theashman88

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 …

Member Avatar for Momerath
0
181

The End.