Update charGet.cpp