070_ctype庫函數的使用-2

1.判斷一個字符是否是可以打印的字符判斷: void isgraph_test(void) { unsigned char s[] = "abcdef\t\n\rddd+^"; int i = 0; while(s[i] != '\0') { if(isgraph(s[i])) { printf("%c OK
相關文章
相關標籤/搜索