DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ function for checking if a sting is a number
bool
isParam
(
string line
)
{
if
(
isdigit
(
atoi
(
line
.
c_str
(
)
)
)
)
return
true
;
return
false
;
}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#function
#checking
#sting
#number
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit