Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ check if char is number

char c = '1';
bool result = isdigit(c);
cout << result << endl; //1
 
PREVIOUS NEXT
Tagged: #check #char #number
ADD COMMENT
Topic
Name
6+7 =