Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!hpda!hpcupt1!u2 From: u2@hpcupt1.HP.COM (C Class) Newsgroups: comp.lang.c Subject: Re: Object oriented programming Message-ID: <5940001@hpcupt1.HP.COM> Date: Fri, 4-Sep-87 12:20:14 EDT Article-I.D.: hpcupt1.5940001 Posted: Fri Sep 4 12:20:14 1987 Date-Received: Sun, 6-Sep-87 09:43:51 EDT References: <9105@brl-adm.ARPA> Organization: Hewlett Packard, Cupertino Lines: 27 / hpcupt1:comp.lang.c / ADLER1%BRANDEIS.BITNET@wiscvm.wisc.EDU / 2:31 pm Sep 1, 1987 / A friend of mine has advised me that C++ has object oriented programming features. It seems desirable to have such options but it is not possbile for me to switch to C++ for a number of reasons. On the other hand, maybe it is possible to obtain object oriented programming features with the C compilers I do use. Perhaps this could be accomplished through certain programming practices, by writing some auxiliary programs and using them or otherwise. My admittedly naive question is this: is it possible to do this without essentially reinventing object oriented programming ? Allan ADLER1@BRANDEIS.BITNET ---------- you can do object-oriented programming with vanilla C but it takes a lot of knowledge of how OOP is supposed to work and a lot of code. we have been working on some code that implements a quasi-Objective-C OOP model without the overhead of Objective-C's general-purpose messaging scheme or the (stupid) Objective-C garbage-collection mechanism. wanna hint? use C++ it will be easier in the long run... Steve Witten UUCP: ...!hplabs!hpda!hpdsla!hpiacla!steve Hewlett-Packard Co. SMTP: steve@hpiacla.HP.COM Industrial Application Co.