ABSTRACT

Exercise A.1. In class Dataset, we overloaded the operator “<<” (see Listing 7.7). Using class Dataset as an example, overload operator “<<” for class AttrValue and class Record so that the values stored in objects of classes AttrValue and Record can be outputted using streams. Use commas to separate the values in a record.