> you sure it's 100?? it should be 127 (or is it 128? :) ). 2^8. (two bytes) > although it is machine dependant: some machines/compilers dont acknowledge > sh_int as a short int, but just make it an int.. etc etc. look at /usr/include/limits.h for the max/min values. In paticular, look at SHRT_MAX. One my machine a short is 2 bytes using 16 bits words. So your unsigned value is 0 - 65535 (2^16) and signed is -2^15 - 2^15. -reni, who has been on solaris too damn long.
This archive was generated by hypermail 2b30 : 12/18/00 PST