Undefined reference to `std::cout'

please refrain from sprinkling code with using namespace std;, especially in headers.
that’s bad practice.