Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

char to int in c++

char a = '4';
int ia = a - '0';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #int
ADD COMMENT
Topic
Name
4+2 =