molto piu semplicemente varaibileInt = variabileChar - '0';
http://digilander.libero.it/vettolani
Regole del Forum