Potato Mode in C++