📜  如何检查字符串中的数字 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:49.391000             🧑  作者: Mango

代码示例2
To find whether a given string contains a number,
convert it to a character array and find whether 
each character in the array is a digit using the isDigit() 
method of the Character class