Date: Mon, 1 Dec 1997 10:18:32 +0200 (IST) From: Eli Zaretskii To: OPIXLPSHRo cc: djgpp AT delorie DOT com Subject: Re: C or C++??? In-Reply-To: <19971130225301.RAA12714@ladder02.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 30 Nov 1997, OPIXLPSHRo wrote: > if I don't use objects in a C++ > program does that make it just a plain C program or is there other > differences that make C++ different then plain C? C and C++ are two different languages. The differences are subtle, but very real. Section 8.3 of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) has an example which should explain something. > Also would the program be faster using OOP? My personal (admittedly, small) experience with C++ programs suggests that GCC doesn't optimize C++ code as well as it does with C code. If that is correct, you'd be better off writing your programs in C if you care about performance and don't need the C++ features.