cbrt c语音_isgraph - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义int isgraph(int ch);
检查给定字符是否具有图形表示形式,即它是数字(0123456789),大写字母(ABCDEFGHIJKLMNOPQRSTUVWXYZ),小写字母(abcdefghijklmnopqrstuvwxyz)或标点符号(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)或特定于当前C语言环境的图形字符。
如果ch的值不能表示为unsigned char并且不等于EOF,则行为是未定义的。
参数
ch-分类字符
返回值
如果字符具有图形表示字符则为非零值,否则为零。
例
#include #include #include
int main(void){
unsigned char c = '\xb6'; // the character ¶ in ISO-8859-1 printf("In the default C locale, \\xb6 is %sgraphical\n", isgraph(c) ? "" : "not " ); setlocale(LC_ALL, "en_GB.iso88591"); printf("In ISO-8859-1 locale, \\xb6 is %sgraphical\n", isgraph(c) ? "" : "not " );}
输出:
In the default C locale, \xb6 is not graphical
In ISO-8859-1 locale, \xb6 is graphical
参考
C11标准(ISO / IEC 9899:2011):7.4.1.6 isgraph函数(p:201-202)
C99标准(ISO / IEC 9899:1999):7.4.1.6 isgraph函数(p:182-183)
C89 / C90标准(ISO / IEC 9899:1990):4.3.1.5 isgraph函数
扩展内容
iswgraph(C95)检查宽字符是否是图形字符(函数)
| 用于isgraph的C ++文档 |
ASCII 值 (十六进制)字符iscntrl iswcntrl.isprint iswprint.isspace iswspace.isblank iswblank.isgraph iswgraph.ispunct iswpunct.isalnum iswalnum.isalpha iswalpha.isupper iswupper.islower iswlower.isdigit iswdigit.isxdigit iswxdigit.0 - 80x00-0x08控制码(NUL, etc.)≠000000000000
90x09tab (\t)≠00≠0≠000000000
10 - 130x0A-0x0D空格 (\n,\v,\f,\r)≠00≠0000000000
14 - 310x0E-0x1F控制码≠000000000000
320x20space0≠0≠0≠000000000
33 - 470x21-0x2F!"#$%&'()*+,-./0≠000≠0≠0000000
48 - 570x30-0x3901234567890≠000≠00≠0000≠0≠0
58 - 640x3a-0x40:;<=>?@0≠000≠0≠0000000
65 - 700x41-0x46ABCDEF0≠000≠00≠0≠0≠000≠0
71 - 900x47-0x5AGHIJKLMNOPQRSTUVWXYZ0≠000≠00≠0≠0≠0000
91 - 960x5B-0x60[]^_` | 0 | ≠0 | 0 | 0 | ≠0 | ≠0 | 0 | 0 | 0 | 0 | 0 | 0 |
97 -1020x61-0x66abcdef0≠000≠00≠0≠00≠00≠0
103-1220x67-0x7Aghijklmnopqrstuvwxyz0≠000≠00≠0≠00≠000
123-1260x7B-0x7E{|}~0≠000≠0≠0000000
1270x7F退格 (DEL)≠000000000000
cbrt c语音_isgraph - [ C语言中文开发手册 ] - 在线原生手册 - php中文网相关推荐
- cbrt c语音_sqrt - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义float sqrtf(float arg);(1)(自C99以来) double sqrt(double arg);(2) long double sqrtl(long double ...
- cbrt c语音_cbrt (Numerics) – C 中文开发手册 - Break易站
C 语言中文开发手册 cbrt (Numerics) - C 中文开发手册 在头文件中定义 float cbrtf( float arg ); (1) (since C99) double c ...
- c 语言memmove,memmove - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义void * memmove(void * dest,const void * src,size_t count);(1) errno_t memmove_s(void * dest,r ...
- php中的lc_time,LC_TIME - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义#define LC_ALL / *实现定义* / #define LC_COLLATE / *实现定义* / #define LC_CTYPE / *实现定义* / #define L ...
- c语言 strncat,strncat - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义(1) char * strncat(char * dest,const char * src,size_t count);(直到C99) char * strncat(char * r ...
- c语言fsetpos是什么,fsetpos - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义int fsetpos(FILE * stream,const fpos_t * pos); stream根据指向的值设置文件流的文件位置指示符和多字节解析状态(如果有)pos. 除了建 ...
- c语言中mw shl code,cacoshl - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义float complex cacoshf( float complex z );(1)(since C99) double complex cacosh( dou ...
- php vprintf,vprintf - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
格式-指向以空字符结尾的字符串的指针,指定如何解释数据.格式字符串由普通的多字节字符(%除外)组成,它们被原样复制到输出流和转换规范中.每个转换规范具有以下格式:介绍%字符(可选)一个或多个标志,用于 ...
- c语言L文件,frexpl - [ C语言中文开发手册 ] - 在线原生手册 - php中文网
在头文件中定义float frexpf(float arg,int * exp);(1)(自C99以来) double frexp(double arg,int * exp);(2) long dou ...
最新文章
- 上海技术英雄会续:几个典型问题的看法
- 九、SpringBoot集成Thymeleaf模板引擎
- 数学基础、机器学习经典算法、统计学习方法,这份机器学习在线手册来帮你...
- 【机器视觉】 for算子
- Python文件读写——使用“with open ... as f”进行文件打开的操作
- 在blog中显示天气预报、日历、时钟、MSN、QQ在线状态、中国农历
- Bootstrap下拉菜单相关
- python 特殊方法实例
- Windows内核面试题(持续更新,目前完成度30%约1.8万字)
- java怎么销毁session_java怎么销毁session?
- 窃听信道模型中的保密通信性能研究
- 基于Otsu算法的图像分割
- 数理知识(1):虚无假设、显著性检验、统计推断、P值法
- 破壳2周造百万销量,荣耀20系列:三个超级炸弹的“寒潮逆袭”
- 微软正式宣布 Visual Studio 2022!
- 8 岁小学生B站教编程惊动苹果,库克亲自送生日祝福!
- 【嵌入式】STM32实现SPI双机通信的一些细节(2)片选总结
- 【jzoj2182】羊羊吃草
- D. Solve The Maze(BFS+思维)
- Android LeakCanary
热门文章
- 比较二进制_浮点数比较的精度问题
- centos 6.6 oracle 10g,centos 6.2 安装 oracle 10g 问题
- java项目遇到的问题_java系列:项目中遇到的一些问题(持续更新中)
- 前端使用linux命令更新项目生产包与测试包命令
- 【APICloud系列|12】ios真机调试时如何添加新设备的udid?
- video 微信 标签层级过高_什么是微信小程序二级分销系统?如何玩转?
- 计算机盘符无法重命名,win8磁盘分区无法重命名怎么办
- python图标icon_用Python提取exe图标icon
- 上下div高度动态自适应--另类处理方案
- 响应式框架Bootstrap栅格系统