VC: int=signed ?

Started by
0 comments, last by Hans 24 years, 4 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
Advertisement
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