Re: What's the use of anonymous structs?
Fred Phillips said:
> Title says ["What's the use of anonymous structs?"]
As far as I can discern, C doesn't provide such a feature. So the answer is
"none, as far as C is concerned". If your implementation provides such a
feature as an extension, consult its documentation to find out why.
As a rule, "What's the use of..." questions are pretty pointless. If you
can't think of a use for something, don't use it.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
|