On the other hand you get mentally insane if you try to work in a way that you do s.th. usefull during the 5-10 min compile times you often have with C++ projects.
When I had to deal with this I would just open the newspaper and read an article in front of my boss.