buggy C++ code with infinite loop for Mr O to inspect