[sdiy] OBJECT ORIENTED C in synth programming

dan snazelle subjectivity at hotmail.com
Sat Apr 9 15:03:10 CEST 2011





On Apr 9, 2011, at 8:38 AM, Thomas Strathmann wrote:

> On 4/8/11 20:32 , dan snazelle wrote:
>> While we are on the topic of Learning about TYPEDEF's and STRUCTURES, can anyone recommend a book that covers C in relation to AVRs well?
>> 
>> The reason I ask is that the C books I have, so often fall back on using PRINT as their example.
>> 
>> It would be great to have a book on C that related things to the world of ADCs and DACS and TIMERS.
> 
> If you want to understand what you are doing you will best attain that understanding by simply working with the language and reading up about the way compilers deal (or expected to deal) with what you write. Learning a language and learning a hardware platform are orthogonal activities for the most part. This is especially true for C which is after all sort of the lingua franca of system programming. One book (K&R for example) supplemented by the C99 standard should be plenty of material to go by. I have the feeling that what you're looking for is the kind of knowledge that goes beyond examples, so best let the examples be and dive straight in. Write code and ask yourself "What will the memory layout look like for my data structures?". Perhaps a book about algorithms and data structures is in order?
> 
> 	Thomas
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
> 
Perhaps a book about algorithms and data structures is in order?

i have been looking at some of those for a few weeks now, and i keep wondering if they are useful. I guess its time to find out!

thanks for all the help





More information about the Synth-diy mailing list