Because the type isn’t char
. The type is char(*)[640][3]
and the declaration would be written as
char (*data)[640][3] = new char[480][640][3]();
1
solved Why does this need auto? [closed]
Because the type isn’t char
. The type is char(*)[640][3]
and the declaration would be written as
char (*data)[640][3] = new char[480][640][3]();
1
solved Why does this need auto? [closed]