Answers for "how to know if char is int c++"

C++
1

c++ check if char is number

char c = '1';
bool result = isdigit(c);
cout << result << endl; //1
Posted by: Guest on September-05-2020

Browse Popular Code Answers by Language