Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The first example seems wrong, instead of `struct sub { ... };` what is meant is `struct { ... } sub;`


You're right; thanks for noticing and I've updated the first example. My C is a bit rusty these days and I didn't check it with a compiler the way I should have.

(I'm the author of the linked-to article.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: