News for hackers. Stuff that matters.
Re:15-line hash table in C by hawski on Friday December 12, 2014 @04:01AM (#8739136)
>Due to C there is no way to declare both an int and that in the loop preamble so you'd need at least one more line

In C99 it's allowed to declare in the loop preamble. True for ANSI-C.

Re:15-line hash table in C by pwr22 on Friday December 12, 2014 @04:25AM (#8739203)
Not differing types
Re:15-line hash table in C by camgunz on Friday December 12, 2014 @01:27PM (#8741818)
If you really want to, I think you might be able to declare a struct in there. A curse on your house though....
Re:15-line hash table in C by pwr22 on Friday December 12, 2014 @05:36PM (#8743135)
In the end I wanted the variable to persist beyond the end of the loop anyway