Re: data types
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Sat, 03 Mar 2007 11:21:37 -0800
koolj96825@xxxxxxxxx writes:
[...]
Next, I was using them as keys and since some quirk in the compiler
didn't let me use the constant for a max unsigned int, I made my own
constant.
What exactly do you mean by "didn't let me use"? What did you try,
and what happened when you tried it?
If you have "#include <limits.h>" at the top of your source file,
UINT_MAX should give you the maximum value of type unsigned int. If
you do that right, and it doesn't work, your implementation is broken,
but it's far more likely you did something wrong.
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.
- References:
- data types
- From: koolj96825
- Re: data types
- From: santosh
- Re: data types
- From: koolj96825
- data types
- Prev by Date: Re: pointer values
- Next by Date: Re: variable argument va_arg does not work with icu u_vformatMessage
- Previous by thread: Re: data types
- Next by thread: Re: data types
- Index(es):