Have some fun with the commands

Aside from mentioning the dangers of “using” directive for namespaces, try to have some fun with the cout and endl commands.

I found extra-nuggets of wisdom early on (with a few compiler errors to help me understand what I was doing wrong)

example:
std::cout << std::endl; to add an extra blank line, but I’m sure there are more situations you can think of here

Privacy & Terms