当前位置: 首页 > news >正文

扁平风网站名优网站关键词优化

扁平风网站,名优网站关键词优化,重庆美食制作,网站开发培训程序员文章目录 1 isalnum()函数2 isalpha()函数3 islower()函数4 isupper()函数5 isdigit()函数6 isxdigit()函数7 iscntrl()函数8 isgraph()函数9 isspace()函数10 isblank()函数11 isprint()函数12 ispunct()函数13 tolower()函数14 toupper()函数 1 isalnum()函数 isalnum()函数…

文章目录

  • 1 isalnum()函数
  • 2 isalpha()函数
  • 3 islower()函数
  • 4 isupper()函数
  • 5 isdigit()函数
  • 6 isxdigit()函数
  • 7 iscntrl()函数
  • 8 isgraph()函数
  • 9 isspace()函数
  • 10 isblank()函数
  • 11 isprint()函数
  • 12 ispunct()函数
  • 13 tolower()函数
  • 14 toupper()函数

1 isalnum()函数

isalnum()函数检测ch是否是字母和数字,函数原型如下:

int isalnum(int ch);

C语言标准描述如下:

1. Checks if the given character is an alphanumeric character as classified by the current C locale. In the default locale, the following characters are alphanumeric:(1) digits (0123456789)(2) uppercase letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)(3) lowercase letters (abcdefghijklmnopqrstuvwxyz)
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is an alphanumeric character, 0 otherwise.

2 isalpha()函数

isalpha()函数检测ch是否是字母,函数原型如下:

int isalpha(int ch);

C语言标准描述如下:

1. Checks if the given character is an alphabetic character, i.e. either an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), or a lowercase letter (abcdefghijklmnopqrstuvwxyz).
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is an alphabetic character, zero otherwise.

3 islower()函数

islower()函数检测ch是否是小写字母,函数原型如下:

int islower(int ch);

C语言标准描述如下:

1. Checks if the given character is classified as a lowercase character according to the current C locale. In the default "C" locale, islower returns true only for the lowercase letters (abcdefghijklmnopqrstuvwxyz).
2. If islower returns true, it is guaranteed that iscntrl, isdigit, ispunct, and isspace return false for the same character in the same C locale.
3. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
4. Non-zero value if the character is a lowercase letter, zero otherwise.

4 isupper()函数

isupper()函数检测ch是否是大写字母,函数原型如下:

int isupper(int ch);

C语言标准描述如下:

1. Checks if the given character is an uppercase character according to the current C locale. In the default "C" locale, isupper returns true only for the uppercase letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ).
2. If isupper returns true, it is guaranteed that iscntrl, isdigit, ispunct, and isspace return false for the same character in the same C locale.
3. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
4. Non-zero value if the character is an uppercase letter, zero otherwise.

5 isdigit()函数

isdigit()函数检测ch是否是十进制数字,函数原型如下:

int isdigit(int ch);

C语言标准描述如下:

1. Checks if the given character is a numeric character (0123456789).
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is a numeric character, zero otherwise.

6 isxdigit()函数

isxdigit()函数检测ch是否是十六进制数字,函数原型如下:

int isxdigit(int ch);

C语言标准描述如下:

1. Checks if the given character is a hexadecimal numeric character (0123456789abcdefABCDEF) or is classified as a hexadecimal character.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is an hexadecimal numeric character, zero otherwise.

7 iscntrl()函数

iscntrl()函数检测ch是否是控制字符,函数原型如下:

int iscntrl(int ch);

C语言标准描述如下:

1. Checks if the given character is a control character, i.e. codes 0x00-0x1F and 0x7F.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is a control character, zero otherwise.

8 isgraph()函数

isgraph()函数检测ch是否有图形表示,函数原型如下:

int isgraph(int ch);

C语言标准描述如下:

1. Checks if the given character has a graphical representation, i.e. it is either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz), or a punctuation character (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~), or any graphical character specific to the current C locale.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character has a graphical representation character, zero otherwise.

9 isspace()函数

isspace()函数检测ch是否是空白字符,函数原型如下:

int isspace(int ch);

C语言标准描述如下:

1. Checks if the given character is either(1) A standard white-space character:(2) Space (0x20, ' '),(3) Form feed (0x0c, '\f'),(4) Line feed (0x0a, '\n'),(5) Carriage return (0x0d, '\r'),(6) Horizontal tab (0x09, '\t'),(7) Vertical tab (0x0b, '\v'),(8) Or a locale-specific white-space character.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is a whitespace character, zero otherwise.

10 isblank()函数

isblank()函数检测ch是否是空字符,函数原型如下:

int isblank(int ch);

C语言标准描述如下:

1. Checks if the given character is a blank character in the current C locale. In the default C locale, only space (0x20) and horizontal tab (0x09) are classified as blank.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is a blank character, zero otherwise.

11 isprint()函数

isprint()函数检测ch是否是可打印的,函数原型如下:

int isprint(int ch);

C语言标准描述如下:

1. Checks if the given character can be printed, i.e. it is either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz), a punctuation character(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~), or space, or any character classified as printable by the current C locale.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character can be printed, zero otherwise.

12 ispunct()函数

ispunct()函数检测ch是否是标点符号,函数原型如下:

int ispunct(int ch);

C语言标准描述如下:

1. Checks if the given character is a punctuation character in the current C locale. The default C locale classifies the characters !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ as punctuation.
2. The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.
3. Non-zero value if the character is a punctuation character, zero otherwise.

13 tolower()函数

tolower()函数将大写字符转换为小写字母,函数原型如下:

int tolower( int ch );

C语言标准描述如下:

1. Converts the given character to lowercase according to the character conversion rules defined by the currently installed C locale.
2. In the default "C" locale, the following uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ are replaced with respective lowercase letters abcdefghijklmnopqrstuvwxyz.
3. Lowercase version of ch or unmodified ch if no lowercase version is listed in the current C locale.

14 toupper()函数

toupper()函数将小写字符转换为大写字母,函数原型如下:

int toupper( int ch );

C语言标准描述如下:

1. Converts the given character to lowercase according to the character conversion rules defined by the currently installed C locale.
2. In the default "C" locale, the following uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ are replaced with respective lowercase letters abcdefghijklmnopqrstuvwxyz.
3. Uppercase version of ch or unmodified ch if no uppercase version is listed in the current C locale.
http://www.ds6.com.cn/news/76473.html

相关文章:

  • 电子商务网站的设计工具上海专业网络推广公司
  • 彩票网站怎么做的青岛网络科技公司排名
  • 永川区网站建设咨询seo 网站优化推广排名教程
  • 第三方交易网站怎么做泰安做百度推广的公司
  • 网站流量怎么算的吸引人的软文
  • 网站专题页面用什么做友链对网站seo有帮助吗
  • it之家网站源码连云港百度推广总代理
  • 白酒网站定制开发品牌运营管理有限公司
  • 西宁中小企业网站建设附子seo
  • 济南好的网站建设公司哪家好外贸企业网站推广
  • 好看的网站建设线上广告推广
  • 黄强会见韩国忠清南道知事金泰钦seo算法
  • 建立一平台个网站需要多少钱磁力最好用的搜索引擎
  • 通州做网站网络推广产品公司
  • 辽宁省工程新希望官网搜索引擎seo关键词优化
  • 百事通网做网站网络营销公司全网推广公司
  • 外贸免费p2p网站建设福建seo排名培训
  • wordpress人个网站正规专业短期培训学校
  • 网站正能量晚上免费软件谷歌推广怎么做最有效
  • 广州十大广告传媒公司seo编辑招聘
  • 网站设计前沿网站百度本地惠生活推广
  • 国外flash网站产品推广语
  • wordpress换域名后图片无法显示网店关键词怎么优化
  • 网站开发外包平台手机如何建网站
  • 有了网站源码怎么做网页seo搜索引擎优化报价
  • 公司网站设计制作开发方案关键词林俊杰无损下载
  • 高明网站建设公司百度seo综合查询
  • 小企业网站建设哪些好办互联网营销课程体系
  • 郑州前端培训机构东莞seo项目优化方法
  • 阿里云服务器 放多个网站网络推广方法有哪些