21 years, 7 months ago
Highlights
21 years, 7 months ago
21 years, 7 months ago
21 years, 7 months ago
21 years, 7 months ago
If you're using std::string:std::string sValue = "<input>";if(sValue.find_first_not_of("0123456789") == std::string::npos) { // Input contains only numeric characters retu…
21 years, 7 months ago
Latest Activity
See all in DiscussionsIf you're using std::string:std::string sValue = "<input>";if(sValue.find_first_not_of("0123456789") == std::string::npos) { // Input contains only numeric characters return success;} else { …
21 years, 7 months ago
Quote:Original post by mfawcett(for example, the effect ofdereferencing the null pointer).The null pointer isn't dereferenced in any of the macro's.
21 years, 7 months ago
You can create MapTile ***Map, but this is nasty. (A two-dimensional array of pointers.) First you do Map = new …
21 years, 7 months ago