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

23 lines
454 B
C
Raw Normal View History

#include <stdio.h>
#include <jstring.h>
JMOJI alphabet[26] = {
'<EFBFBD>`', '<EFBFBD>a', '<EFBFBD>b', '<EFBFBD>c', '<EFBFBD>d', '<EFBFBD>e', '<EFBFBD>f', '<EFBFBD>g', '<EFBFBD>h',
'<EFBFBD>i', '<EFBFBD>j', '<EFBFBD>k', '<EFBFBD>l', '<EFBFBD>m', '<EFBFBD>n', '<EFBFBD>o', '<EFBFBD>p', '<EFBFBD>q',
'<EFBFBD>r', '<EFBFBD>s', '<EFBFBD>t', '<EFBFBD>u', '<EFBFBD>v', '<EFBFBD>w', '<EFBFBD>x', '<EFBFBD>y'
};
void main()
{
int i;
char c;
for( i = 0;
i < sizeof( alphabet )/sizeof(JMOJI);
i++ ) {
c = zentohan( alphabet[ i ] );
printf( "%c", c );
}
printf( "\n" );
}