Y
Hacker News
new
|
ask
|
show
|
jobs
by
jacobsenscott
2131 days ago
I can't get past the `size_t i` rather than `int i` in the first loop. Why. I suppose it is some type of defensive programming.
1 comments
kevin_thibedeau
2131 days ago
Bit flip changes an int to a large negative value. Now you're stuck doing a signed comparison for a while.
link