Horje
c++ char it is a number Code Example
c++ check if char is number
char c = '1';
bool result = isdigit(c);
cout << result << endl; //1
c++ char it is a number
#include<ctype.h>
--------
char c = '1';
bool result = isdigit(c);
if(result)
	cout << "Yes, it is digit" << endl;
else
	cout << "No, it is't digit" << endl;




Cpp

Related
std vector c++ Code Example std vector c++ Code Example
how to find the size of a character array in c++ Code Example how to find the size of a character array in c++ Code Example
c++ read matttrix from text file Code Example c++ read matttrix from text file Code Example
file reading c++ Code Example file reading c++ Code Example
Dangling Pointer Code Example Dangling Pointer Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9