Guest User

Untitled

a guest
Dec 27th, 2010
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.56 KB | None | 0 0
  1. #ifndef CELL_H
  2. #define CELL_H
  3. #include <iostream>
  4. #include <string>
  5.  
  6. using namespace std;
  7.  
  8. class Cell
  9. {
  10. private:
  11.     string name;
  12.     int price;
  13.     string design;
  14.     string touch;
  15.  
  16. public:
  17.     Cell(string name, int price, string design, string touch);
  18.     Cell();
  19.     string getDesign();
  20.     string getName();
  21.     string getTouch();
  22.     int getPrice();
  23.     bool operator<(Cell cell1);
  24.  
  25.     void SetPrice(int price);
  26.     void setDesign(string design);
  27.     void setTouch(string touch);
  28.     void setName(string name);
  29.     void show();
  30.     void showTouch();
  31.     void showDesign();
  32.    
  33. };
  34. #endif
Advertisement
Add Comment
Please, Sign In to add comment