Advertisement

VC: int=signed ?

Started by December 26, 1999 05:11 PM
0 comments, last by Hans 24 years, 11 months ago
In Visual C++ 6: Are 'int's signed as a default? Where to set 'int's to be unsigned as a default? Thanks already
int's are always signed, its a language feature. If you don't want to type a lot to use unsigned ints try this macro (may be defined already by some header files... such as windows.h)

#define UINT unsigned int

This topic is closed to new replies.

Advertisement