Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _LAB05_H_
- #define _LAB05_H_
- #include <iostream>
- using namespace std;
- class Punkt
- {
- private:
- int _x;
- int _y;
- public:
- Punkt();
- Punkt (int x, int y);
- friend class Wektor;
- Punkt clone() const;
- Punkt set(int x);
- Punkt set(int x, int y);
- void print();
- ~Punkt();
- };
- class Wektor
- {
- private:
- int _x1;
- int _y1;
- int _x2;
- int _y2;
- public:
- Wektor();
- Wektor (int x1, int y1, int x2, int y2);
- Punkt set_end(Punkt p);
- void set_beg(Punkt &p);
- void set_end(int x, int y);
- void print() const;
- void set(Punkt &p1, const Punkt &p2);
- Punkt get_beg();
- ~Wektor();
- };
- class info
- {
- private:
- static int _des_pun;
- static int _des_wec;
- public:
- info();
- static void print();
- static void des_plusp();
- static void des_plusw();
- };
- void nop();
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement