Rockbox Technical Forums
Rockbox General => Rockbox General Discussion => Topic started by: keytotime on February 02, 2006, 06:44:12 PM
-
Can anybody recommended any good books to learn c?
-
C: A Reference Manual has been indispensible to me over the last 9 years. It is a reference manual so it assumes you have some programming background, if not C. I never found a book I liked for learning C without having prior programming background.
-
I recommend C For Dummies and the O'Reily book on C (i forgot the name, but any For Dummies or O'Reily book ive read has been good)
:)
-
...and what does that say about you? : - )
-
If you find the dummy books getting in your way, you can try the classic
"The C Programming Language (2nd Edition)" By Kerrigan and Ritchie the guys who invented the language.
I tried the dummy book and it was way too slow and cluttered with non-essentials which really got in my way. You have to set up the programming environment yourself though.
-
I can recommend 'The C Programming Language' by Kernighan/Ritchie too. It's good structured and is available in several languages.
I have a german version including the C reference manual.
-
I also have a copy of 'The C Programming Language' and it is a good book, as well. In fact, 'C: A Refernece Manual' and 'The C Programming Language' are the only two books I have on C. Have never needed anything else over the last 9 years I've been writing code.
-
The only book I ever use is "The C programming language". If there isn't something on there, I just google it. There is a bevy of information available to the savvy googler.
-
I'd just go to your library and check out a reasonably good looking book. c has been around so long there are thousands of them.
The thing about c is that its not a very large langauge like most newer languages today. The basic c libraries are fairly small (and rockbox doesn't use most of them anyway if thats what you're thinking), and the langauge has moderately much syntax.
So learning about c isn't a whole lot of reading (though thats still important). Its mostly about sitting down and practicing until you understand how things work. Which is the hard part since c is made to be close to how assembly works, and not how people work :)
-
What they say. I tought myself C from K+R back in 1991. One of the most useful things I did.
-
You could *probably* just pick up the O'Reilly C pocket reference, read the intro portion, and then learn as you go.
-
I've been using 'C programming visual quickstart guide'. It starts right from scratch so is good for a complete newb like myself.
It's done the trick so far anyway... But really I've learnt more from just mucking about with the code and seeing what happens (it's more fun too)!
:-)
-
i've actually read the pocket version of Windows XP ..for dummies, it made me laugh with a part that said "DVD stands for Digital Video Disc, Digital Versatile Disc, and Dick Van Dyke" and it was still helpful, so the ... for Dummies series is still helpful.