Decode The String In C++