Welcome![Sign In][Sign Up]
Location:
Search - isdigit

Search list

[ELanguage1

Description: 字符测试函数 isalnum(测试字符是否为英文字母或数字) isalpha(测试字符是否为英文字母) isascii(测试字符是否为ASCII码字符) isblank(测试字符是否为空格字符) iscntrl(测试字符是否为ASCII码的控制字符) isdigit(测试字符是否为阿拉伯数字) isgraph(测试字符是否为可打印字符) islower(测试字符是否为小写英文字母) isprint(测试字符是否为可打印字符) isspace(测试字符是否为空格字符) ispunct(测试字符是否为标点符号或特殊符号) isupper(测试字符是否为大写英文字母) isxdigit(测试字符是否为16进制数字)
Platform: | Size: 16029 | Author: | Hits:

[ELanguage1

Description: 字符测试函数 isalnum(测试字符是否为英文字母或数字) isalpha(测试字符是否为英文字母) isascii(测试字符是否为ASCII码字符) isblank(测试字符是否为空格字符) iscntrl(测试字符是否为ASCII码的控制字符) isdigit(测试字符是否为阿拉伯数字) isgraph(测试字符是否为可打印字符) islower(测试字符是否为小写英文字母) isprint(测试字符是否为可打印字符) isspace(测试字符是否为空格字符) ispunct(测试字符是否为标点符号或特殊符号) isupper(测试字符是否为大写英文字母) isxdigit(测试字符是否为16进制数字)-Character test function isalnum (test whether the characters in English letters or numbers) isalpha (test whether the letters of the alphabet characters) isascii (test characters are characters in ASCII code) isblank (test characters for space characters) iscntrl (test whether the ASCII characters control character code) isdigit (test characters for Arabic numerals) isgraph (test characters are printable characters) islower (test characters are lowercase letters of the alphabet) isprint (test characters are printable characters) isspace (test whether the characters space character) ispunct (test characters for punctuation or special symbols) isupper (test characters are capitalized letters of the alphabet) isxdigit (test whether the 16 hexadecimal characters figures)
Platform: | Size: 16384 | Author: | Hits:

[BooksC_language_library_Quick_Fact_Manual

Description: C语言函数库速查手册,chm格式 原型:extern int isalnum(int c) 用法:#include <ctype.h> 功能:判断字符c是否为字母或数字 说明:当c为数字0-9或字母a-z及A-Z时,返回非零值,否则返回零。 举例: // isalnum.c #include <syslib.h> #include <ctype.h> main() { int c clrscr() // clear screen c= a printf(" c: s\n",c,isalnum(c)?"yes":"no") c= 7 printf(" c: s\n",c,isalnum(c)?"yes":"no") c= @ printf(" c: s\n",c,isalnum(c)?"yes":"no") getchar() return 0 } 相关函数:isalpha,isdigit,isxdigit,iscntrl,isgraph,isprint,ispunct,isspace-C language library Quick Fact Sheet, chm format, the prototype: extern int isalnum (int c) Usage:# include <ctype.h> Function: to determine whether the letter or character c figures show: When c is the number 0-9 or the letters az and AZ, the returned non-zero value, otherwise returns zero. For example:// isalnum.c# include <syslib.h># include <ctype.h> main () (int c clrscr () // clear screen c = ' a' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) c = ' 7 ' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) c =' @' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) getchar () return 0 ) correlation functions: isalpha, isdigit, isxdigit, iscntrl, isgraph, isprint, ispunct, isspace
Platform: | Size: 82944 | Author: 成宝民 | Hits:

[Internet-Networkftp-source

Description: or (int i = 0 i < len && partCount <= 6 i++) { char ch = Char.Parse(ipData.Substring(i,1)) if (Char.IsDigit(ch)) buf+=ch else if (ch != , ) { throw new IOException("Malformed PASV strReply: " + strReply) } if (ch == , || i+1 == len) { try { parts[partCount++] = Int32.Parse(buf) buf="" } catch (Exception) { throw new IOException("Malformed PASV strReply: " + strReply) -or (int i = 0 i < len && partCount <= 6 i++) { char ch = Char.Parse(ipData.Substring(i,1)) if (Char.IsDigit(ch)) buf+=ch else if (ch != , ) { throw new IOException("Malformed PASV strReply: "+ strReply) } if (ch == , || i+1 == len) { try { parts[partCount++] = Int32.Parse(buf) buf="" } catch (Exception) { throw new IOException("Malformed PASV strReply: "+ strReply)
Platform: | Size: 8056832 | Author: mark | Hits:

CodeBus www.codebus.net