C Carl Daniel [VC++ MVP] Oct 24, 2003 #2 miya said: it is any function for string simular to isdigit()? Click to expand... why not just use isdigit()? #include <string> #include <ctype.h> // ... std::string str; if (isdigit(str[0])) { } // ... -cd
miya said: it is any function for string simular to isdigit()? Click to expand... why not just use isdigit()? #include <string> #include <ctype.h> // ... std::string str; if (isdigit(str[0])) { } // ... -cd
M miy Oct 24, 2003 #3 here is my code(isdigit(Modifier[0])) Where I am checking if Modifier is digit in position 0. How do I check if in following position is string?
here is my code(isdigit(Modifier[0])) Where I am checking if Modifier is digit in position 0. How do I check if in following position is string?