Report question

Question: Redirect both cout and stdout to a string in C++ for Unit Testing