single number C++