topical media & game development

talk show tell print

professional-program-11-OneDGrid-OneDGridTest.c

? / professional-program-11-OneDGrid-OneDGridTest.c


  include <OneDGrid.h>
  
  int main(int argc, char** argv)
  {
    OneDGrid<int> singleDGrid;
    OneDGrid<OneDGrid<int> > twoDGrid;
    OneDGrid<OneDGrid<OneDGrid<int> > > threeDGrid;
  
    singleDGrid[3] = 5;
    twoDGrid[3][3] = 5;
    threeDGrid[3][3][3] = 5;
  
    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.