Knolling of a program written in C++