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++
int number = std::stoi(string); // str to int int number = std::stoi("100"); // number = 100
PREVIOUS
NEXT
Tagged:
#string
#int
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit