All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
15
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Support GameDev.net with a monthly
GDNet+ subscription
!
Follow Us
Chat in the
GameDev.net Discord!
Back to General and Gameplay Programming
Advertisement
VC: int=signed ?
General and Gameplay Programming
Programming
Started by
Hans
December 26, 1999 05:11 PM
0
comments, last by
Hans
24 years, 11 months ago
Hans
Author
122
December 26, 1999 05:11 PM
In Visual C++ 6: Are 'int's signed as a default? Where to set 'int's to be unsigned as a default? Thanks already
Cancel
Save
Torval
122
December 26, 1999 05:11 PM
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
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
poker game
For Beginners
Nested switch statements
General and Gameplay Programming
force opengl to use software rendering
Graphics and GPU Programming
Time to give up my engine?
Engines and Middleware
Falloff
Math and Physics
Occluder from AABB, near plane 'fix'?
Graphics and GPU Programming
Advertisement
Recommended Tutorials
5 Premium Currency Pricing Trends and Tricks used by Mobile Free-To-Play Games
Business and Law
Rendering Water as a Post-process Effect
Graphics and GPU Programming
The Shaming of Pac-Man: A Remake of the Classic From the 80's With A Beginner Friendly Class Framework
General and Gameplay Programming
Win32 Assembly Part 6
General and Gameplay Programming
Fun with Linux - Article 2/5
General and Gameplay Programming
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top