1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "vector2d.hpp" #include <iostream> int main() { yage::Vector2D v; yage::Vector2D v2(1, 5); v=v2; std::cout<<v<<'\n'; return 0; }