how to know if a u have a char or a int in c++ code example
Example: c++ check if char is number
char c = '1';
bool result = isdigit(c);
cout << result << endl; //1
char c = '1';
bool result = isdigit(c);
cout << result << endl; //1