1>c:\users\sang\documents\visual studio 2012\projects\proj3\proj3\clientprogram.cpp(108): error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'NumDays' (or there is no acceptable conversion)
1> c:\program files (x86)\microsoft visual studio 11.0\vc\include\ostream(695): could be 'std::basic_ostream<_Elem,_Traits> &std::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const char *)'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>
1> ]
Nope. I say it won't work for same reason that hoursWorked_John /= !(hoursWorked_John * hoursWorked_John) won't work: you did not defined operator << for NumDays. That what error message tells you.