Which C book for beginning Arduino?
Moderators: adafruit_support_bill, adafruit

Which C book for beginning Arduino?

by Chuckz on Thu Feb 09, 2012 12:25 pm

I'm looking for a beginners book in C for the Arduino. Should it be "C++ for Dummies" or "C for Dummies"?

I was reading the reviews on Amazon and one review said the book "C Programming Language (2nd Edition) [Paperback]
Brian W. Kernighan" is not for beginners. Because of that review, I'm looking for alternatives.
Chuckz
 
Posts: 159
Joined: Mon May 30, 2011 11:54 am

Re: Which C book for beginning Arduino?

by adafruit_support_bill on Thu Feb 09, 2012 12:49 pm

Kernighan & Ritchie is the standard classic that many C programmers started with. (Ritchie was actually the designer of the language) I like it because it is concise and to the point.

The "Arduino language" is actually based on C++. But if you are new to programming, C is a bit less intimidating to start with and most everything you will learn is directly applicable to C++.
User avatar
adafruit_support_bill
 
Posts: 30760
Joined: Sat Feb 07, 2009 10:11 am

Re: Which C book for beginning Arduino?

by lyndon on Thu Feb 09, 2012 1:26 pm

My favorite C book of all time is Herb Schildt's C - The Complete Reference. It is very easy to read, lots of examples and makes a good tutorial and reference when you're more advanced.

He also has a C++ version. Actually, I think the C++ version encapsulates the C version ;-)
lyndon
 
Posts: 280
Joined: Tue Mar 29, 2011 5:28 pm

Re: Which C book for beginning Arduino?

by MrGlass on Thu Feb 09, 2012 3:30 pm

Kernighan & Ritchies book on C is a great book, really should be required reading for any programmer. That said, its very dense, and if this is your first exposure to coding, you are probably better off with something geared toward the non professional market.
MrGlass
 
Posts: 90
Joined: Tue Jun 03, 2008 3:50 am

Re: Which C book for beginning Arduino?

by BLevy on Sat Mar 16, 2013 1:34 pm

For people new to programming (or to C), there is a new (Dec 2012) book out, Beginning C for Arduino by Jack Purdum, published by Apress. ISBN 978-1430247760. First, a disclaimer: I was the technical reviewer for it. But that said, it is a gentler introduction than K&R for beginners to programming. It also covers issues and topics specific to the Arduino environment/IDE. It is focused on C, not (for the most part) the C++ aspects. If you are looking 'tons of cool electronic projects', this isn't the one for you. But if you are looking for a reasonable foundation for the programming side, this is worth a look.
BLevy
 
Posts: 6
Joined: Wed Jun 13, 2012 4:18 pm