Friday, April 25, 2014

                                             C                                                                       C++                                         


Designed byDennis RitchieBjarne Stroustrup
ParadigmsImperative (procedural) systems implementation languageMulti-paradigm, object-oriented programming, generic programming, procedural programming, functional programming, metaprogramming
Typing DisciplineStatic, Weakstatic, strong, unsafe, nominative
Influencedawk, csh, C++, C#, Objective-C, BitC, D, Concurrent C, Java, JavaScript, Limbo, Perl, PHPAda 95, C#, Java, PHP, D, Aikido
Major ImplementationsGCC, MSVC, Borland C, Watcom CGNU Compiler Collection, Microsoft Visual C++, Borland C++ Builder, Intel C++ Compiler, LLVM/Clang
Influenced byB (BCPL,CPL), ALGOL 68, AssemblyC, Simula, Ada 83, ALGOL 68, CLU, ML
Appeared in19721985
Garbage CollectionManual; allows better management of memory.No
SpeedC applications are faster to compile and execute than C++ applications+-5% when compare with C if you know how to make a good use of C++.The performance of C++ and C are equal, since compilers are mature.
Usual filename extensions.c.cc, .cpp, .cxx, .h, .hh, .hpp
Programming-includeuse #include<stdio.h>include

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home