|
Slide 5.10: Field structures Slide 5.12: Reading a stream of fields (cont.) Home |
|
buys.txt.
SSN|ISBN|quantity” to the end of the file buys.txt.
operator>>) that reads the stream of bytes from the file buys.txt,
Purchase object,
Purchase object's values, and
operator<<) that writes the Purchase object back to the file.