Search
 
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
Name
9+9 =