123456789101112131415161718192021222324 |
- #include <iostream>
- #include "point.h"
- #include "cLine.h"
- int main()
- {
- cPoint point1 (2, 0);
- cPoint point2 (4, 6);
- cPoint point3 (4, 6);
- cPoint point4 (8, 77);
- //point2.show ();
- cLine lin1 (point1, point2);
- lin1.show ();
- cLine lin2 (3, 6);
- lin1.parallel_me(lin2);
- return 0;
- }
|