Re: UnSigned Long




"Emmanuel Delahaye" <emdel@xxxxxxxxxxxxxx> wrote in message
news:mn.ed9b7d582d302c92.15512@xxxxxxxxxxxxxxxxx
> Joriveek wrote on 29/08/05 :
>> I want to store myvarz = 3000000000;
>>
>> I have declared myvarz as unsigned long; still not taking.
>>
>> I am using MSVC++ 6.0
>
> Check your ULONG_MAX (in <limits.h>) It could be not big enough for the
> value you want.

It is large enough. I suspect OP didn't tell us the
whole story.

-Mike


.