I have programmed in Java, PHP, C# and a little bit in C in an OS course I have taken recently in college. For all of these languages, I've found decent documentation except C. I couldn't find a good source for it.
Any thoughts ?
|
I have programmed in Java, PHP, C# and a little bit in C in an OS course I have taken recently in college. For all of these languages, I've found decent documentation except C. I couldn't find a good source for it. Any thoughts ? |
||||
| show 7 more comments |
|
If we're talking about pure C, then I like this C Reference. There are tons of books on C, as well as Internet resources. |
|||||
|
|
For the C and C++ languages themselves plus the standard libraries, there are many books and online references. The language standards also work decently (if you can decipher standardese) as stdlib references. If you're on *nix or Windows with cygwin, man pages are very useful for the C stdlib. |
|||
|
|
|
My favorite C reference is C: A Reference Manual, 5th edition, by Sam Harbison and Guy Steele. It's up-to-date with the C99 standard (K&R2 isn't), it's mostly correct (a shocking number of C books are full of basic errors), and it covers C++ compatibility issues. By itself, it's not a good resource for learning C, but it makes a great companion reference to whatever introductory material you find. The final word is the language standard, the latest working draft of which is found here. Again, it's not a great resource for someone just starting out, but it's something you should have bookmarked if you work in C regularly. |
|||
|
|
|
Ok, going to take a stab at this, although I'll agree it's a little vague... Having taught an intro class in C and an intro class in C++ (years ago at a community college) I did see a lot of people who where new to programming be extremely put off by reference books on the subject (either language). Keep in mind this was 1998-2002. The majority of the reference assumed programming experience in other languages. Add the following:
What I found helped students new to the subject (most of mine had VB and FORTRAN experience) was that (forgive me with this) but the C++ For Dummies book did a good (some said great) job at explaining the subject. I am in no way affiliated w/ the book publisher. If this is more of what you meant, perhaps a book similar would be helpful. |
|||
|
-1from me for that faux pas. – sbi Jan 27 '11 at 22:09