#iswalnum

c 判断是否为 字母或数字(iswalnum example)

 #include<stdio.h>#include<wctype.h>intmain(){inti;wchar_tstr[]=L"c3p。o...";i=0;while(iswalnum(str[i])){i++;}printf("Thefirst%dcharactersarealp...