topical media & game development

talk show tell print

professional-program-08-SpreadsheetCellAssign-SpreadsheetCellTest.c

? / professional-program-08-SpreadsheetCellAssign-SpreadsheetCellTest.c


  include <SpreadsheetCell.h>
  
  int main(int argc, char** argv)
  {
    SpreadsheetCell myCell, anotherCell, aThirdCell;
  
    myCell = anotherCell = aThirdCell;
    myCell.operator=(anotherCell.operator=(aThirdCell));
  
    SpreadsheetCell cell(4);
    cell = cell; // self-assignment
  
    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.