[c++] Convert ascii value to char