return (dayCheck = false) ? cout << "On the " << day <<
"th Day of Christmas, My True Love Gave to Me: "
<< endl << Christmas(day, count, true) :
(count != 0) ? cout << arr[count] << endl
需求是创建一个流,将其传递给第二个函数进行修改(它必须以这种方式传递,因为输出需要访问私有数据成员单独的课程)。然后输出修改后的流。它按原样编译,但只返回MyStream的地址,我需要它返回流。 /* Prints the details of the media collection. */
void MediaCollection::PrintMediaDetails() const{