Convert int to string object in C++