Hacker News new | past | comments | ask | show | jobs | submit login

  > 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: