I hereby claim:
- I am donovan-digital on github.
- I am theycallmevirgo (https://keybase.io/theycallmevirgo) on keybase.
- I have a public key ASDNttYFvyOvGXWP18CD7oCrbh1KCGzPoinu8gtTzrQRsQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
bool isInteger(const std::string & s) { | |
if(s.empty() || ((!isdigit(s[0])) && (s[0] != '-') && (s[0] != '+'))) return false ; | |
char * p ; | |
strtol(s.c_str(), &p, 10) ; | |
return (*p == 0) ; | |
} |