DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
string to int c++
// Convert 2 character substring from position 0 to an integer int num = std::stoi(s.substr(0, 2));
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#string
#int
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit