This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/kanji/jiskigou.c

27 lines
410 B
C

#include <stdio.h>
#include <jstring.h>
JMOJI chars[] = {
0x8143,
0x817B,
0x8183,
0x8190
};
#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( jiskigou( c ) ) {
printf( " is a kigou symbol" );
}
printf( "\n" );
}
}