Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. map = new Node**[size.y];
  2. for (int row = 0; row < size.y; row++) {
  3.     map[row] = new Node*[size.x];
  4.     for(int col = 0; col < size.x; col++) {
  5.           map[row][col] = new Node(blablabla...);
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement