isalnum(c)
True if c is a letter or a digit.
如果 c 是字母或数字,则为 True。
isalpha(c)
true if c is a letter.
如果 c 是字母,则为 true。
iscntrl(c)
true if c is a control character.
如果 c 是控制字符,则为 true
isdigit(c)
true if c is a digit.
如果 c 是数字,则为 true。
isgraph(c)
true if c is not a space but is printable.
如果 c 不是空格,但可打印,则为 true。
islower(c)
true if c is a lowercase letter.
如果 c 是小写字母,则为 true。
isprint(c)
True if c is a printable character.
如果 c 是可打印的字符,则为 true。
ispunct(c)
True if c is a punctuation character.
如果 c 是标点符号,则 true。
isspace(c)
true if c is whitespace.
如果 c 是空白字符,则为 true。
isupper(c)
True if c is an uppercase letter.
如果 c 是大写字母,则 true。
isxdigit(c) true if c is a hexadecimal digit.
如果是 c 十六进制数,则为 true。
tolower(c) If c is an uppercase letter, returns its lowercase equivalent;
otherwise returns c unchanged.
如果 c 大写字母,返回其小写字母形式,否则直接返回 c。
toupper(c) If c is a lowercase letter, returns its uppercase equivalent;
otherwise returns c unchanged.
如果 c 是小写字母,则返回其大写字母形式,否则直接返回 c。
True if c is a letter or a digit.
如果 c 是字母或数字,则为 True。
isalpha(c)
true if c is a letter.
如果 c 是字母,则为 true。
iscntrl(c)
true if c is a control character.
如果 c 是控制字符,则为 true
isdigit(c)
true if c is a digit.
如果 c 是数字,则为 true。
isgraph(c)
true if c is not a space but is printable.
如果 c 不是空格,但可打印,则为 true。
islower(c)
true if c is a lowercase letter.
如果 c 是小写字母,则为 true。
isprint(c)
True if c is a printable character.
如果 c 是可打印的字符,则为 true。
ispunct(c)
True if c is a punctuation character.
如果 c 是标点符号,则 true。
isspace(c)
true if c is whitespace.
如果 c 是空白字符,则为 true。
isupper(c)
True if c is an uppercase letter.
如果 c 是大写字母,则 true。
isxdigit(c) true if c is a hexadecimal digit.
如果是 c 十六进制数,则为 true。
tolower(c) If c is an uppercase letter, returns its lowercase equivalent;
otherwise returns c unchanged.
如果 c 大写字母,返回其小写字母形式,否则直接返回 c。
toupper(c) If c is a lowercase letter, returns its uppercase equivalent;
otherwise returns c unchanged.
如果 c 是小写字母,则返回其大写字母形式,否则直接返回 c。
本文介绍了C语言中用于字符属性判断及转换的一系列标准库函数,包括字母、数字、控制字符等类型的判断方法,以及大小写转换函数。这些函数对于字符串处理及文本分析非常有用。
2504

被折叠的 条评论
为什么被折叠?



