KanjiCPreProcessor 1.2

Source in C, Pascal, etc. Note: apps that come with source should be included here as well as the appropriate software directory.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
KanjiCPreProcessor 1.2

Post by Info-Mac » December 15th, 1999, 11:00 am

Download: http://archive.info-mac.org/dev/src/kan ... ssor-c.hqx

KanjiCPreProcessor:
Japanese Shift-JIS C/C++/Rez pre-processor - free source code

KanjiCPreProcessor.c is the source code of a basic filter for C, C++, and
Rez source files, which strips all the comments, and replaces in strings
all the
Shift-JIS double-byte characters whose second byte happens to be a
backslash with their equivalent octal escape sequences, so that the source
files can be successfully compiled even when the compiler is not truly
multibyte-savvy, or when the Japanese script is not supported by the system
the compiler is running on...

Note: This code has been successfully compiled with CodeWarrior Discovery
Programming Edition 4, using the following project stationery:
MacOS : C_C++ : Standard Console : Std C Console 68K
In addition, "ANSI strict" must be explicitly turned *off* in the C/C++
Language Settings Panel.

Disclaimer: This source code is provided "as is" and is free for you to
use, at your own risk. Please let me know of any bugs or suggestions for
improvements.

--Michel MARIANI (a.k.a. Mikaeru)

Mikaeru Software:
Post Reply