Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!comeau From: comeau@ditka.Chicago.COM (Greg Comeau) Newsgroups: comp.sys.amiga.programmer Subject: Re: C++ Message-ID: <36852@ditka.Chicago.COM> Date: 15 Apr 91 06:17:45 GMT References: <50511@nigel.ee.udel.edu> Sender: comeau@ditka.chicago.com (Greg Comeau) Reply-To: comeau@csanta.attmail.com (Greg Comeau) Organization: Comeau Computing Lines: 22 In article <50511@nigel.ee.udel.edu> jleonard@pica.army.mil writes: >In article <7257@harrier.ukc.ac.uk> mr3@ukc.ac.uk (M.Rizzo) writes: > >>[in C++] member functions of different classes can have the same name (which >...All you have to do is use structures containing your classes data and member >function pointers. This way you can give the function a name in the structure One can most certainly emulate many of C++ features in C. That misses the point though. The goal is to strive for a natural an integration as possible. Your C solution does not do that. The C++ way is "just there" and simple to use. So long as the C++ way is like that and available, seems the slight of hand C alternative is greatly inferior. - Greg -- Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418 Producers of Comeau C++ Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421 Voice:718-945-0009 / Fax:718-441-2310