Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!mephisto!ncar!boulder!uswat!uswmrg2!chris From: chris@uswmrg2.UUCP (Chris Fedde) Newsgroups: comp.lang.c++ Subject: Re: Book on oo based C Keywords: object based C Message-ID: <1990Jul18.221422.19049@uswmrg2.UUCP> Date: 18 Jul 90 22:14:22 GMT References: <633@atcmpe.atcmp.nl> <1114@fang.dsto.oz> <5221@darkstar.ucsc.edu> Reply-To: chris@uswmrg2.UUCP (Chris Fedde) Organization: US West Marketing Resources Group, Aurora CO. Lines: 36 In article <5221@darkstar.ucsc.edu> daniel@terra.UUCP (Daniel Edelson) writes: >In article <1114@fang.dsto.oz> dch@aeg.dsto.oz.au (Dave Hanslip) writes: >>leo@atcmp.nl (Leo Willems) writes: >> >>>I am looking for a book which describes the object oriented concepts, >>>but its examples must be expressed in C (so it will be object based). >> >>"Object Oriented Program Design in C++" by Mullins, Addison Wesley 1989 >>is excellent. > >Try also ``C++ for C programmers,'' by Pohl, Benjamin Cummins, 1990 > >daniel@cis.ucsc.edu I think so far we have missed the point here. The original author (Leo Willems) is talking about objective techniques using 'C' not 'C++' or some other descendant of the language. The only book that I have read which addresses concepts of object programming using normal 'C' syntax: _Reusable_Data_Structures_for_C_ by Roger Sessions (sorry, I don't have the volume at hand for the ISBN). The author develops a set of techniques for using file scope and (void*) or (char*) to implement data abstraction and runtime binding. Polymorphism and inheritance are not addressed at all but then it's not really a book about object programming just about safe 'C' module writing. Still Sessions' techniques can be used to implement a system which has been derived through object design. And many concepts and idoms he uses will be usefull regardless of the language you are using. -- Anything I may say here are my own opinions; not those of my employer Chris Fedde uswmrg2!chris@uswat.uswest.com | ...boulder!uswat!uswmrg2!chris US West Marketing Resources Group (303)369-2823 voice (303)659-8358 FAX