Y
Hacker News
new
|
ask
|
show
|
jobs
by
pickledcods
1094 days ago
Counting down with signed ints:
for (int i=max-1; i >= 0; --i)
Counting down with unsigned ints (also works for signed ints):
for (unsigned i=max; i--; )