Let's pretend that I'm interviewing you for a C++ job. I want to know how you approach problems and the extent of your C++ prowess, so I'm going to ask you to solve short problems in C++. These problems range from beginner to advanced, and may be more than they seem. Good luck!
 "You" being collective. Everyone is welcome to put their heads together and/or build on the questions or solutions of everyone else. In fact, I encourage it.
 Each problem will have a separate thread, to keep things on-topic. If it turns out that this is a fun game, I'll post new problems regularly.
Okay then, here we go:
Problem: Write some code that reverses words.