C++ to 10000