-1

假设我们有char *str = "123 467";类似 isdigit() 的数字返回布尔值吗?

4

1 回答 1

2

isspace() 怎么样?这将告诉您 char 是否是空白字符。

它包含在 ctype.h 中

于 2013-02-19T23:24:49.860 回答