DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
string to int c
atoi
(
str
)
is unsafe This is the prefered method
:
(
int
)
strtol
(
str
,
(
char
*
*
)
NULL
,
10
)
PREVIOUS
NEXT
Tagged:
#string
#int
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit