randchars.cpp