topical media & game development

talk show tell print

professional-program-16-StreamOperators-SpreadsheetCellTest.c

? / professional-program-16-StreamOperators-SpreadsheetCellTest.c


  include <SpreadsheetCell.h>
  
  include <iostream>
  using namespace std;
  
  int main(int argc, char** argv)
  {
    int number = 10;
    cout << "The number is " << number << endl; 
    string str;
    cin >> number >> str;
  
    SpreadsheetCell myCell, anotherCell, aThirdCell;
  
    cin >> myCell >> anotherCell >> aThirdCell;
    cout << myCell << " " << anotherCell << " " << aThirdCell << endl;
  
    operator>>(operator>>(operator>>(cin, myCell), anotherCell), aThirdCell);
  
    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.