C examples for wctype.h:wint_t
data type
<cwchar> <cwctype>
Wide character integral type
#include <stdio.h> #include <wctype.h> int main ()// www . jav a 2s .co m { FILE * pFile; wint_t c; pFile = fopen ("myfile.txt","r"); if (pFile) { do { c = fgetwc (pFile); if (iswgraph(c)) putwchar (c); } while (c != WEOF); fclose (pFile); } }