Objective
Implement coord_pair, a compact C++98 class for a pair of integer coordinates.
Steps
$ std::cout << (coord_pair(3, -2) + coord_pair(4, 5)) << "\n";
{7, 3}
$ std::cout << (2 * coord_pair(-1, 6)) << "\n";
{-2, 12}
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers

Objective
Implement coord_pair, a compact C++98 class for a pair of integer coordinates.
Steps
$ std::cout << (coord_pair(3, -2) + coord_pair(4, 5)) << "\n";
{7, 3}
$ std::cout << (2 * coord_pair(-1, 6)) << "\n";
{-2, 12}
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers

Tests
Run the tests to grade your code