Advertisement
AbraaoAllysson

charToInt

Apr 25th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.10 KB | None | 0 0
  1. int charToInt(char caracter)
  2. {
  3.    int vInt[]={0,1,2,3,4,5,6,7,8,9};
  4.    return vInt[caracter-'0'];
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement