C++ itoa convert with base