I get this error in the following code
//Error...
error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion)
void Menu::readDates(istream& in, Date& dates)
{
in >> dates.getDay() >> dates.getMonth() >> dates.getYear();
}
Thought '>>' can deal with integers... Surely there' no need to overload here... All three functions return integers, confused???