in a BookBorrowed class where the ostream operator is overloaded.
book.isbn and book.lastName are type string
book.dateDue and book.dateBorrowed are objects of class Date.
The problem is that when I do the command ofile<<book in main it only uses the setw on the d.month, rather than the entire ostream of Date.
For example,
I was wondering if there is a command similar to setw that would allow me to print out the entire Date output within the 15 spaces. If not, I wonder if there is some way of combining the Date data so that it could be outputted as one "string," but I'd rather not do any conversion.