As if the operator → corresponds to the operator <<
Example database:
If the operator → reads something in the following format:
2 Joe 500 20 1 Bob 250 30 0
if the operator <<output? Or something like this:
Record: 1/2 Name: Joe Balance: 500 Transactions: 20 Premium Account: Yes
And then you have a separate writeFile () function?
I know that any of them will work, but what is the “accepted standard”?
source share