00 /* 01 * main.cpp 02 03 * Author: Kurt Nørmark/Simonas Saltenis 04 */ 05 06 #include <iostream> 07 08 #include "point.h" 09 #include "tripple.h" 10 11 int main() { 12 using namespace std; 13 using namespace Geometrical; 14 15 Point p, q{3,4}, r{Tripple{1,2,3}}; 16 Tripple t, v{p}; 17 18 cout << "p: " << p << endl; // funny default constructor: (0,7) 19 cout << "q: " << q << endl; // (3,4) 20 cout << "r: " << r << endl; // (1,2) 21 22 cout << "t: " << t << endl; // [0,0,0] 23 cout << "v: " << v << endl; // [1,9,0] 24 25 cout << "Orig: " << Origin << endl; // (0,0) 26 27 return 0; 28 } 29 30 31 32