zoukankan      html  css  js  c++  java
  • ctype.h

    • isalpha:
      int isalpha(char ch);
      检查ch是否是字母.是字母返回非0,否则返回0。
    • iscntrl:
       int iscntrl(int ch);
       检查ch是否控制字符(其ASCII码在0和0x1F之间,数值为 0-31).是返回非0,否则返回 0.
    • isdigit:
      int isdigit(char ch);
      检查ch是否是数字(0-9), 是返回非0,否则返回0。

    • isgraph:
      int isgraph(int ch);
       检查ch是否可显示字符(其ASCII码在0x21到0x7E之间),不包括空格。是返回非0,否则返回0。
    •  islower:
      int islower(int ch);
      检查ch是否小写字母(a-z),是返回非0,否返回0。
    • isupper:
       int isupper(int ch);
      检查ch是否是大写字母(A-Z)。是返回非0,否则返回0。
    •  tolower:
      int tolower(int ch);
       将ch字符转换为小写字母,返回ch所代表的字符的小写字母
    • toupper:
      int toupper(int ch);
      将ch字符转换成大写字母,与ch相应的大写字母。
    •  isalnum:
      int isalnum(int ch);
      检查ch是否是字母或数字,是字母或数字返回非0,否则返回0。
    • isprint:
      int isprint(int ch);
      检查ch是否是可打印字符(包括空格),其ASCII码在0x20到0x7E之间, 是返回非0,否则返回0。
    •  ispunct
      int ispunct(int ch);
      检查ch是否是标点字符(不包括空格),即除字母,数字和空格以外的所有可打印字符,是返回非0,否则返回0。
    • isspace
      int isspace(int ch);
      检查ch是否是空格符和跳格符(控制字符)或换行符,函数返回: 是返回非0,否则返回0。
    • isxdigit
      int isxdigit(int ch);
      检查ch是否是一个16进制数学字符(即0-9,或A-F,或a-f)。是返回非0,否则返回0。
    Follow my heart and hold on!
  • 相关阅读:
    Odoo Documentation : Fields
    Odoo models.py BaseModel
    Odoo Documentation : Environment
    Odoo Documentation : Recordsets
    Odoo中使用的部分表名及用途
    Odoo启动过程
    6779. Can you answer these queries VII
    1874 素数和最大
    3150 Pibonacci数
    2817 Tangent的愤怒
  • 原文地址:https://www.cnblogs.com/Young-C/p/8395055.html
Copyright © 2011-2022 走看看