Everything looks good except:
- You need to pass the out stream to printHelper so it knows where to output the data it reads (instead of always outputting it to cout)
- You shouldn't try to stream the results of printHelper to the out stream since that function doesn't return anything
On the prompt that I am given, the out stream is not passed to printHelper. If I make the print() function just call printHelper() instead of trying to stream the results, how would I use the ostream argument correctly.