Update char to int.cpp