Hey, after google searching I'm still stuck on this problem. I have the same implementation of this code working for a different program so I'm not sure why I'm getting this error. I've crosschecked both programs to no avail and google yielded me no/poor results.
Can someone please tell me how to fix this or where I'm going wrong? Cheers.
The error occurs on the first "<<" in the toString function.
Thanks guys, no I didn't I had a crack at that but it was too complicated for me to get my head around what to put in the overloaded function (signature?). I then realized I could just grab the data members of payDate individually like so