From: "Christopher Nelson" To: Subject: Re: Generate c code from c++? Date: Sat, 10 Apr 1999 08:40:42 -0600 Message-ID: <01be8360$1c6c20e0$LocalHost@thendren> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Reply-To: djgpp AT delorie DOT com >Christopher Nelson wrote: >> >> 1st, why would you want to? (C++ is nearly as fast, more flexible, and >> usually better for the projects that it's written for than equivalent C >> code.) >> > >I donot want to optimize c++ handly, I just wander how >c++ deal with the oop issues such as polymophism, multiinherence, >exceptions, etc. >I heard that c++ is implemented as a c front before. this is true. i was corrected on this earlier, and when I started using my brain, I remembered that. C++ is implemented using a runtime support package (just like C) only, the RSP for C++ is very extensive, and this code is what allows the a lot of the stuff that C++ does, although a lot if it is also handled by the compiler (especially templates) and using pointers and vtables. -={C}=-