
STANDARD DEVICES AND CONSOLE I/O
35
an illegal parameter to
, as an error in the use of or
.
Unicode Strategies
A programmer who is starting a Windows project, either to develop new code or to
port existing code, can select from four strategies, based on project requirements.
1. 8-bit only. Ignore Unicode and continue to use the
(or ) data type
and the Standard C library for functions such as
, , and .
2. 8-bit but Unicode enabled. Follow the earlier guidelines for a generic appli-
cation, but do not define the two Unicode preprocessor variables. The example
programs generally use this strategy.
3. Unicode only. Follow the generic guidelines, but ...