[sdiy] how to learn C?

Noah Vawter nvawter at media.mit.edu
Sat Jan 8 21:08:43 CET 2011




On Jan 8, 2011, at 12:43 PM, Dan Snazelle wrote:

> Main reason i want to learn it is for atmel and microchip chips

you're in luck.  atmel has a large fanbase for the AVR family of  
chips.  Check out http://avrfreaks.net   it's almost as awesome as  
synth-DIY.

for learning to program, I recommend reading through lots of source  
codes for various things similar to what you want.  buy a programmer  
friend a beer and ask them questions about your most commonly-viewed  
sequences of code.  And finally, start with something similar to what  
you want, and make small modifications to it, until you get what you  
want.  Borrow lots of code.  And if you're in it for the long haul,  
learn assembly or LISP first.  If you want to be low-level, optimized  
and efficient, go with assembly first.  If you want to integrate  
complicated conceptual ideas, go with LISP.
and definitely get yourself a smallish, concise book like k&r with  
lots of syntactical examples, and supplement that with examples on the  
web.





> Sent from my iPhone
>
> On Jan 8, 2011, at 12:37 PM, John Loffink <jloffink at austin.rr.com>  
> wrote:
>
>> I second the Kochan book as the best balance of exposition and  
>> examples.  Other C books are typically too spare in the material  
>> with insufficient examples, or too "chatty" with more words but no  
>> more real depth or material.
>>
>> The Kochan book is also good for an introductory programming book.   
>> However, if you are targeting embedded microcontrollers, for  
>> instance, then you should look at a book targeted for that specific  
>> hardware.
>>
>> John Loffink
>>
>>
>>
>> On 1/8/2011 4:11 AM, Mark Rivera wrote:
>>> On Sat, Jan 8, 2011 at 4:04 AM, dan snazelle<subjectivity at hotmail.com 
>>> >  wrote:
>>>> can anyone recommend a good book on C
>>>>
>>>> and while you are it, can you recommend a good introductory book  
>>>> on programming in general
>>> I like this one.
>>> http://www.amazon.com/Programming-ANSI-Stephen-G-Kochan/dp/ 
>>> 0672303396
>>> _______________________________________________
>>> Synth-diy mailing list
>>> Synth-diy at dropmix.xs4all.nl
>>> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>>>
>>>
>>
>>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy




More information about the Synth-diy mailing list