topical media & game development

talk show tell print

professional-program-11-NDGrid-NDGridTest.c

? / professional-program-11-NDGrid-NDGridTest.c


  include <NDGrid.h>
  
  include <iostream>
  using namespace std;
  
  int main(int argc, char** argv)
  {
    NDGrid<int, 3> my3DGrid;
    my3DGrid[2][1][2] = 5;
    my3DGrid[1][1][1] = 5;
  
    cout << my3DGrid[2][1][2] << endl;
  
    return (0);
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.