bluejack wrote, On 12/03/07 23:27:
I usually just need a good reference book in order to answer questions
as they come up. K&R2 is generally thought to be good, but online I
also use:
K&R2 is good.
Based on a quick look I'm not convinced, however it might explain some
of the horrible terminology we see. For example, it talks about typecasting.
In fact, having looked a bit further it seems riddled with errors at
least some of which are fairly fundamental in my opinion. For example:
| enum identifier {enumerator-list};
| Identifier is a handle for identification, and is optional.
| Enumerator-list is a list of variables to be created. They will be
| constant integers. Each variable is given the value of the previous
| variable plus 1. The first variable is given the value of 0
I cannot imagine any way that the enumerations can be considered
variables. It also uses the word "variables" in various other
questionable ways.
And the comp.lang.c FAQ:
http://c-faq.com/
That is a good reference.