[sdiy] OBJECT ORIENTED C in synth programming

Ben Lincoln blincoln at eventualdecline.com
Fri Apr 8 19:49:42 CEST 2011


On Fri, April 8, 2011 10:21 am, dan snazelle wrote:

> So I am wondering....can anyone recommend a good book On Object oriented
> C? Or on OOP in general? Am i correct that object oriented is using
> structures and classes?

I'm not a CompSci major (although I've coded in various languages of high
and low levels), so it would be good to get a second opinion on this, but
I'm not seeing any OO aspects in the examples you sent. My understanding
is that you need to be working with C++ (not just plain old C) to get
actual OO capabilities.

A struct, for example, is just a way of organizing sets of data together
as a group. You can use those in OO or non-OO code. I would be shocked if
any decent book on C programming didn't include a discussion of structs.




More information about the Synth-diy mailing list