On Fri, Jan 16, 2009 at 12:32 PM, NAGAMOHAN YENUGANTI
<[email protected]> wrote:
> I meant not the speed of writing the code.I am asking the running time  of
> the executable code of C is less or for C++ is less? ( for the same project

The answer is also there in the articles I gave links to. One of them
talks about the overhead of the additional features made available in
C++ (without them, the execution time is (should be) the same).

BTW, execution times should also depend on the compiler you use.
Although this might be pointless, but for the sake of completion, I'll
add that execution times of binaries from Visual C++ might be very
different from g++ on Linux. Hence, which C or C++ compilers are you
using? (BTW, there are different C compilers available on Linux too).


Sharad

--~--~---------~--~----~------------~-------~--~----~
l...@iitd mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to