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/hantozen.c

19 lines
297 B
C
Raw Normal View History

#include <stdio.h>
#include <jstring.h>
char alphabet[] = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
};
void main()
{
int i;
JMOJI c;
for( i = 0; i < sizeof( alphabet ) - 1; i++ ) {
c = hantozen( alphabet[ i ] );
printf( "%c%c", c>>8, c );
}
printf( "\n" );
}