Hello!
I've started to learn object oriented c++ recently, im trying to figure out how to print out a command like cout<< does but with using classes and functions.
I have this example void DayOfYear::output() { cout << “month = “ << month << “, day = “ << day << endl; }
but when i tried to do something close to it, it didnt work.