SpreadsheetCellTest.cpp
Upload User: gtl068a
Upload Date: 2007-01-25
Package Size: 233k
Code Size: 0k
Development Platform:

Visual C++

  1. #include "SpreadsheetCell.h"
  2. #include <iostream>
  3. using namespace std;
  4. int main(int argc, char** argv)
  5. {
  6.   SpreadsheetCell myCell, anotherCell;
  7.   myCell.setValue(6);
  8.   anotherCell.setValue(myCell.getValue());
  9.   cout << "cell 1: " << myCell.getValue() << endl;
  10.   cout << "cell 2: " << anotherCell.getValue() << endl;
  11.   return (0);
  12. }