Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

/J - Change Default char Type (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This option changes the default char type from signed to unsigned.

This option is useful when you are working with character data that you intend to localize.

If a char value is explicitly declared signed, the /J option does not affect it, and the value is sign extended when widened to int type. With the /J option, the char type is zero extended when widened to an int type.

When you specify /J, the compiler automatically defines the identifier _CHAR_UNSIGNED, which is used with #ifndef in the LIMITS.H include file to define the range of the default char type.

Neither ANSI C nor C++ requires a specific implementation of the char type.

See Also

Compiler Options


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.