Transformez un char en un int en c
int x = character - '0';
Nervous Problem
int x = character - '0';
c = i +'0';
int i = 7;
char str[256];
itoa(i,str,10); //Base 10
char c = str[0]; // c="7"
Use ASCII chart.
int i=65;
char ch;
ch= (char)i;
printf("Expected value of ch: A. This value is found by using a ASCII chart");