if i type in "twelve" on a cin syntax, can c++ change the twelve into number eg : t-116, w-119 and vice versa
i tried using
char letter[] = "twelve";
and the output is twelve
but i want it as integer. maybe the sum of all the ascii characters
can anyone help me?