Y
Hacker News
new
|
ask
|
show
|
jobs
by
remram
1779 days ago
The first example seems wrong, instead of `struct sub { ... };` what is meant is `struct { ... } sub;`
1 comments
siebenmann
1779 days ago
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.)
link
(I'm the author of the linked-to article.)