Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!mmdf From: jleonard@pica.army.mil Newsgroups: comp.sys.amiga.programmer Subject: Re: C++ Message-ID: <50819@nigel.ee.udel.edu> Date: 15 Apr 91 19:57:52 GMT Sender: mmdf@ee.udel.edu Lines: 33 ----- Begin Included Message ----- From @aed,@louie.udel.edu:mmdf@udel.edu Mon Apr 15 15:14:28 1991 From: Greg Comeau Newsgroups: comp.sys.amiga.programmer Subject: Re: C++ Message-Id: <36852@ditka.Chicago.COM> Date: 15 Apr 91 06:17:45 GMT Organization: Comeau Computing To: amiga-programmer-relay@udel.edu Sender: amiga-programmer-relay-request@udel.edu >In article <36852@ditka.Chicago.COM> comeau@ditka,chicago.com writes: >>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 >>>is important for polymorphism) - you can't do this in C say. >> --------------------------- >>..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. Actually I was just pointing out that it is possible to do overloading in C, since the post I replied to said it couldn't be done. I didn't intend to imply that C is suitable for object oriented programming. >- Greg Jeff Leonard