topical media & game development

talk show tell print

professional-program-09-NestedClasses-SpreadsheetTest.c

? / professional-program-09-NestedClasses-SpreadsheetTest.c


  include <Spreadsheet.h>
  
  include <iostream>
  using namespace std;
  
  class SpreadsheetApplication {};
  
  int main(int argc, char** argv)
  {
    SpreadsheetApplication theApp;
    Spreadsheet s1(theApp);
    Spreadsheet s2(theApp, 5);
    Spreadsheet s3(theApp, 5, 6);
  
    Spreadsheet::SpreadsheetCell c1(4), c2(5);
    Spreadsheet::SpreadsheetCell c3(c1);
    c2 = c3;
  
    cout << c1.getValue() << endl;
  
    s2.getId();
  
    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.