Tuesday, October 27, 2015

Advantages and disadvantages of C++


Advantages:

         1. C++ use multi-paradigm programming. Paradigm means style of programming. Paradigm concerned about logics, structure and procedure of program. C++ is multi-paradigm means it follow three paradigm Generic, Imperative, Object Oriented.

         2. It is useful for low-level programming language and very efficient for general purpose.


         3. C++ provides performance and memory efficiently.

         4. It provides high-level abstraction.


         5. In the language of the problem domain.

         6. C++ is compatible with C.


         7. C++ used reusability of code.

8. C++ used inheritance, polymorphism.


Disadvantages:

         1. Complex in very large high-level program.

         2. Used for platform specific application commonly.


         3. For a particular operating system or platform the library set is usually chosen that locks.

         4. When C++ used for web applications complex and difficult to debug.


         5. C++ can't support garbage collection.

         6. C++ not support Dynamic Memory Allocation.
         7. C++ is not secure because it has pointer, friend function and global variable.
8. No support for threads built in.

No comments:

Post a Comment