What are some ways to determine if a std::string contains all numeric data? (Alpha representations of numeric data)
Code:std::string sPrimaryNumber = "98"; sPrimaryNumber.find_first_not_of("0123456789");
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: std::string all numericThreaded View
|
Click Here to Expand Forum to Full Width |