Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ktRolster
on March 6, 2016
|
parent
|
context
|
favorite
| on:
Let's code a TCP/IP stack, 1: Ethernet and ARP
> Since C99, you've been able to write > > for (int i = 0; i < 10; ++i)
To be fair, Microsoft's compiler only began supporting that recently, so for cross-platform compatible code, people often declared the index outside the loop.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: