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