摘要: 【Java】 Java编程规范(第三版)---Java四大名著----JamesGosling(Java之父) 【原 书 名】 The Java Language Specification (3rd Edition) 【原出版社】 Addison-Wesley 【作 ... 阅读全文
posted @ 2012-11-03 21:29 N3verL4nd 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern void *memchr(void *str, char ch, unsigned count) 参数说明:从str所指内存区域的前count个字节查找字符ch。 所在库名:#include 函数功能:当第一次遇到字符ch时停止查找。如果成功,... 阅读全文
posted @ 2012-11-02 09:20 N3verL4nd 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern void *memset(void *buffer, int c, int count) 参数说明:buffer为源字符串,c为要初始化的字符的值,count为初始化buffer中字符的个数。 所在库名:#include 函数功能:把buff... 阅读全文
posted @ 2012-11-02 09:18 N3verL4nd 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern char *strtok(char *string, char *seps) 参数说明:string为源字符串,seps为指定的分隔符,是一个分隔字符串的集合。 所在库名:#include 函数功能:将字符串string中所有在seps中出现... 阅读全文
posted @ 2012-11-02 09:16 N3verL4nd 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern char *strset(char *str, char character) 参数说明:str为源字符串,即将要被操作的字符串,character为一个字符。 所在库名:#include 函数功能:将字符串str中所有的字符都设置成为指定的字... 阅读全文
posted @ 2012-11-02 09:14 N3verL4nd 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern char *strrev(char *str) 参数说明:str为源字符串,即待逆置的字符串。 所在库名:#include 函数功能:实现字符串str的逆置。 返回说明:返回逆置字符串的指针。 其它说明:暂时无。 实例: #in... 阅读全文
posted @ 2012-11-02 09:12 N3verL4nd 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern char *strpbrk(char *str1, char *str2) 参数说明:str1待比较的字符串,str2为指定被搜索的字符串。 所在库名:#include 函数功能:比较字符串str1和str2中是否有相同的字符,如果有,则返回... 阅读全文
posted @ 2012-11-02 09:10 N3verL4nd 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern char *strncpy(char *dest, char *src, int n) 参数说明:dest为目的字符串,src为源字符串,n。 所在库名:#include 函数功能:将src中的前n个字符(不包含"/0")复制到dest中,如... 阅读全文
posted @ 2012-11-02 09:08 N3verL4nd 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern int strnicmp(char *str1,char * str2,int n) 或者extern int strncmpi(char *str1,char * str2,int n) 参数说明:str1为第一个要比较的字... 阅读全文
posted @ 2012-11-02 08:57 N3verL4nd 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 函数原型:extern int strcmp(char *str1,char * str2,int n) 参数说明:str1为第一个要比较的字符串,str2为第二个要比较的字符串,n为指定的str1与str2的比较的字符数。 所在库名:#include 函数功能:比较... 阅读全文
posted @ 2012-11-02 08:53 N3verL4nd 阅读(222) 评论(0) 推荐(0) 编辑