Cpp Declare Char Array On Mathematical Problem