码迷,mamicode.com
首页 >  
搜索关键字:ctype    ( 298个结果
Python ctype sizeof incorrect!
Abstract base class for structures in native byte order. Concrete structure and union types must be created by subclassing one of these types, and at ...
分类:编程语言   时间:2016-06-29 20:23:28    阅读次数:282
tolower字符串转换函数应用实例
原型:int tolower(int c); 相关函数 isalpha,toupper 头文件:ctype.h 功能:将大写字母转换成小写字母 说明:若参数c为大写字母则将该对应的小写字母返回。 返回值:返回转换后的小写字母,若不须转换则将参数c值返回。 应用实例: #include #include int main() { char s[]="aBcDe...
分类:其他好文   时间:2016-06-28 13:03:52    阅读次数:152
toupper字符串转换函数应用实例
原型:int toupper(int c); 相关函数 isalpha,tolower 头文件:ctype.h 功能:将小写字母转换成大写字母 说明:若参数c为小写字母则将该对映的大写字母返回。 返回值  返回转换后的大写字母,若不须转换则将参数c值返回。 应用实例: #include #include int main() { char s[]="aBcD...
分类:其他好文   时间:2016-06-21 07:58:28    阅读次数:114
图书管理系统
#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<ctype.h>#defineSTACK_INIT_SIZE10#defineOK1#defineTRUE1#defineERROR0/*定义学生类型,用于存放借出的书籍*/structstudent{intcarnum;charlendbook[10];}stu..
分类:其他好文   时间:2016-06-15 16:16:43    阅读次数:211
图书馆系统
#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<ctype.h>#defineSTACK_INIT_SIZE10#defineOK1#defineTRUE1#defineERROR0/*定义学生类型,用于存放借出的书籍*/structstudent{intcarnum;charlendbook[10];}stu..
分类:其他好文   时间:2016-06-15 00:12:37    阅读次数:189
图书馆系统程序
#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<ctype.h>#defineSTACK_INIT_SIZE10#defineOK1#defineTRUE1#defineERROR0/*定义学生类型,用于存放借出的书籍*/structstudent{intcarnum;charlendbook[10];}stu..
分类:其他好文   时间:2016-06-14 06:37:38    阅读次数:240
图书馆系统程序
酒店管理系统程序是一个偏长的c语言程序,其中包含的函数公式涉及面很广,令人难以捉摸。#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<ctype.h>#defineSTACK_INIT_SIZE10#defineOK1#defineTRUE1#defineERRO..
分类:其他好文   时间:2016-06-14 06:35:34    阅读次数:218
酒店管理系统
酒店管理系统程序是一个偏长的c语言程序,其中包含的函数公式涉及面很广,令人难以捉摸。#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<ctype.h>#defineSTACK_INIT_SIZE10#defineOK1#defineTRUE1#defineERRO..
分类:其他好文   时间:2016-06-14 06:34:33    阅读次数:290
iscntrl字符串测试函数应用实例
原型:int iscntrl(int c); 头文件:ctype.h 功能:检查参数c是否为ASCII控制码,也就是判断c的范围是否在0到30之间。 返回值:若参数c为ASCII控制码,则返回TRUE,否则返回NULL(0)。 附加说明: 此为宏定义,非真正函数。 扩展: 控制字符(Control Character),出现于特定的信息文本中,表示某一控制功能的字符。 在...
分类:其他好文   时间:2016-06-12 03:13:06    阅读次数:212
islower字符串测试函数应用实例
原型:int islower(int c); 头文件:ctype.h 功能:检查参数c是否为小写英文字母。 返回值:若参数c为小写英文字母,则返回TRUE,否则返回NULL(0)。 附加说明: 此为宏定义,非真正函数。 函数模拟源码: int islower(int c) { return ('a' <= c && c <= 'z'); }应用实例: #include...
分类:其他好文   时间:2016-06-12 03:06:38    阅读次数:125
298条   上一页 1 ... 16 17 18 19 20 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!