I want to create a 2D array like the following.
char **dog = new char[480][640];
But it errors:
error C2440: 'initializing' : cannot convert from 'char (*)[640]' to 'char ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
what do I need to do using "new"? (not using calloc, malloc or char dog[480][640];
)