Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
demallien
on Jan 6, 2012
|
parent
|
context
|
favorite
| on:
Why 37signals Doesn't Hire Programmers Based on Br...
When did C start accepting non-constants for array size declarations?
haberman
on Jan 6, 2012
|
next
[–]
Variable-length arrays were added in C99.
hn_reader
on Jan 6, 2012
|
prev
[–]
I was wondering the same thing. But I can confirm it compiles and runs, though I had to supply a -std=c99 flag to gcc.
demallien
on Jan 6, 2012
|
parent
[–]
Ahhh, useful tip. I've just been using alloca instead...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: