|
|
On Fri, 26 Oct 2007 12:08:57 +0200, Warp <war### [at] tagpovrayorg> wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> The C declaration of
>> unsigned int X;
>> does not allocate an integer variable.
>
>> You wouldn't need signed/unsigned conversion rules if you were working
>> with integers instead of int's.
>
> I may be unusually dense here, but I still can't understand.
I am fairly certain he simply means that the range of 'int' in C++ is only
a subset of Z (the set of integers). Similarly, the range of 'unsigned
int' is only a subset of N. The data types in C++ do not model Z or N,
even though they are superficially similar in some respects.
--
FE
Post a reply to this message
|
|