8.7 Reading Records
In Section 6.5 we reviewed how to read data from a text file that contains a collection of data records. At that time, we only considered files that were comprised of integer and floating-point values. Now that you know how to work with strings, let's expand on the earlier discussion to also consider records that contain text in addition to integer and/or floating-point values.