MUstar

IoT C++ 09/12 - Project3_Move.h

Sep 12th, 2017
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. class Move
  5. {
  6. private:
  7.     double x;
  8.     double y;
  9. public:
  10.     Move(double a=0, double b=0);
  11.     void showmove() const;
  12.     Move Move_add(const Move & m) const;
  13.     void reset(double a=0,double b=0);
  14. };
RAW Paste Data