DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
converting char to integer c++
int x = '9' - 48; // x now equals 9 as an integer
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#converting
#char
#integer
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit