In many problems requiring inputs, such as 11.5 (compute the median of online data), the solutions use pointers, such as istringstream *. I think a reference (e.g., istringstream&) should be easier to use because we do not need to keep writing the asterisk in front of the variable.
Is there any specific reason for using a pointer rather than a reference in the argument lists of functions?