Skip to main content
GameDev.net gamedev.net
🔒 Locked

VC: int=signed ?

Started by Hans Dec 26, 1999 at 5:11 PM 0 replies 650+ views
Original Post
Hans
Hans
In Visual C++ 6: Are 'int's signed as a default? Where to set 'int's to be unsigned as a default? Thanks already
Torval
Torval
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.