[OCLUG-devel] determining the size of data types

Christopher Smith x at xman.org
Sat Jun 19 19:53:53 PDT 2004


On Sat, 2004-06-19 at 19:22, James Colannino wrote:
> James Colannino wrote:
> 
> > I.E. with a signed integer I can get 0 to whatever the maximum value is[...]
> 
> Oops...I meant unsigned int...

#include <limits.h>

That'll give you what you want.

-- 
Christopher Smith <x at xman.org>


More information about the OCLUG-devel mailing list