is it Okay to define MAXIMUM to the value of INT MAX?Code:#include<stdio.h> #include<limits.h> #define MAXIMUM INT MAX . . quo=x/MAXIMUM; .
quo=x/MAXIMUM; warning statement has no effedt
is it Okay to define MAXIMUM to the value of INT MAX?Code:#include<stdio.h> #include<limits.h> #define MAXIMUM INT MAX . . quo=x/MAXIMUM; .
quo=x/MAXIMUM; warning statement has no effedt
>#define MAXIMUM INT MAX
It should be:
Code:/* Notice the underscore */ #define MAXIMUM INT_MAX
My best code is written with the delete key.
whoohooo it works!
THX!
I need new glasses