Last active
January 4, 2016 08:23
-
-
Save harry830622/c65cc5cdacb88610a012 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cell*** ptr_two_d_array = new cell**[m]; | |
for (int i = 0; i < m; ++i) { | |
cell[i] = new cell*[n]; | |
for (int j = 0; j < n; ++j) { | |
cell[i][j] = new cell(args...); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment