Given that your examples of using std::cout are using the wrong I/O direction, I am surprised you have "25 years experience of c++".
Perhaps, that annoyed him too. Still, yelling doesn't help much of anything.
Edit: OP changed post. Not fair to down vote....