I have a char array that has both ints and letters in it.
I'm trying to take two numbers from this array and add them together, but I presume, seeing as they are stored as characters, that I'm doing something silly like adding there ascii values together.
How do I treat them as inegers? I tried calling the array using int string1[], but that didn't help.
Obviously this is wrong...
Code:int x; x = string2[1] + string3[1];