24 lines
381 B
C
24 lines
381 B
C
|
#include <stdio.h>
|
||
|
#include <jstring.h>
|
||
|
#include <jctype.h>
|
||
|
|
||
|
JMOJI chars[] = {
|
||
|
'A',
|
||
|
0x9941,
|
||
|
0xA4,
|
||
|
0xA6
|
||
|
};
|
||
|
|
||
|
#define SIZE sizeof( chars ) / sizeof( JMOJI )
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
for( i = 0; i < SIZE; i++ ) {
|
||
|
printf( "Char is %san alphabetic "
|
||
|
"or Katakana character\n",
|
||
|
( isalkana( chars[i] ) ) ? "" : "not " );
|
||
|
}
|
||
|
}
|