Skip to content

Instantly share code, notes, and snippets.

@NikitaShkaruba
Created November 10, 2017 22:28
Show Gist options
  • Save NikitaShkaruba/511c7f756f19f3a69d597fffb61ed680 to your computer and use it in GitHub Desktop.
Save NikitaShkaruba/511c7f756f19f3a69d597fffb61ed680 to your computer and use it in GitHub Desktop.
int height = 10;
int width = 5;
int** double_array = new int*[height];
for (int i = 0; i < height; i++) {
double_array[i] = new int[width];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment