Ill get to the point
why cant i do:
for (unsigned int i = 4; i >= 0; i--)
but i can do
for (int i = 4; i >= 0; i--)
if i try the first line, it counts down from 4.2 billion or something
what i dont understand is why only the second one works, an unsigned int can have a value of 4 without
overflowing and so can a signed integer, but why doesnt it work with unsigned integers?
is it a bug? or am i doing something wrong?
[EDIT] Compiler is MSVC 6