Max Range For Some Constants
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi Anyone know if there is defined constant value for Data type...For example DWORD.... Max Range For DWORD is FFFFFFFF Need To Do Functions That Do Checking If The Passed In values Meet The Range Or Not. Although Can Hardcode the FFFFFFFF, i ma wondering if there is any better way. Thanx
-
Hi Anyone know if there is defined constant value for Data type...For example DWORD.... Max Range For DWORD is FFFFFFFF Need To Do Functions That Do Checking If The Passed In values Meet The Range Or Not. Although Can Hardcode the FFFFFFFF, i ma wondering if there is any better way. Thanx
Yes, they are defined in LIMITS.H Serge