27 lines
403 B
C
27 lines
403 B
C
#include <stdio.h>
|
|
#include <jstring.h>
|
|
|
|
JMOJI chars[] = {
|
|
0x8143,
|
|
0x8183,
|
|
0x8254,
|
|
0x8277
|
|
};
|
|
|
|
#define SIZE sizeof( chars ) / sizeof( JMOJI )
|
|
|
|
void main()
|
|
{
|
|
int i;
|
|
JMOJI c;
|
|
|
|
for( i = 0; i < SIZE; i++ ) {
|
|
c = chars[ i ];
|
|
printf( "%c%c", c>>8, c );
|
|
if( jisdigit( c ) ) {
|
|
printf( " is a digit" );
|
|
}
|
|
printf( "\n" );
|
|
}
|
|
}
|