Shawn A. Van Ness <[EMAIL PROTECTED]> wrote:
...
> I don't get it. On my system, both int and uint produce c == 0xffffffff.
...
> if (c < 0) { // oops, never true!
you do get it :D
My example was too easy, but, like I said, IRL you'll often be bitten
if you not careful enough...
In my early c++ life I was fond of the unsigned and const-ness
features. But IRL they usually generate more "problems" than
"benefits" ...
// Ryan
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
Essential .NET: building applications and components with C#
November 29 - December 3, in Los Angeles
http://www.develop.com/courses/edotnet
View archives and manage your subscription(s) at http://discuss.develop.com