Results 1 to 4 of 4

Thread: why C++ is a powerful programming language than C?

  1. #1
    Join Date
    Nov 2009
    Posts
    50

    why C++ is a powerful programming language than C?

    I am beginner in programming language.Lot of people say that C++ is a powerful programming language than C.I don't know why makes C++ more powerful than C? Which features C++ have?Please any one who have knowledge about C++ share with me.I will be grateful for your help.
    Last edited by Luz; 24-11-2009 at 05:08 PM.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: why C++ is a powerful programming language than C?

    C++ is a free-form,compiled,multi-paradigm,statically typed, general-purpose programming language.C++ is widely used in the software industry, and remains one of the most popular languages ever created. Some of its application domains include application software,systems software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games.

    The C++ Language features:
    *Operators and operator overloading:C++ provides more than 30 operators, covering basic arithmetic, bit manipulation, indirection, comparisons, logical operations and others.

    *Templates:C++ templates enable generic programming.

    *Objects:C++ introduces object-oriented (OO) features to C. It offers classes, which provide the four features commonly present in OO (and some non-OO) languages: abstraction, encapsulation, inheritance, and polymorphism.

    *Encapsulation:Encapsulation is the hiding of information in order to ensure that data structures and operators are used as intended and to make the usage model more obvious to the developer.

    *Inheritance:Inheritance allows one data type to acquire properties of other data types. Inheritance from a base class may be declared as public, protected, or private.

    *Polymorphism: Polymorphism enables one common interface for many implementations, and for objects to act differently under different circumstances.C++ supports several kinds of static (compile-time) and dynamic (run-time) polymorphisms.
    Last edited by Zecho; 24-11-2009 at 05:20 PM.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: why C++ is a powerful programming language than C?

    What makes C++ is more powerful is it's number of features like as follows:

    *You can use abstract classes as interfaces
    *You can make class hierarchies for object-oriented programming.
    *You can use C++ templates as the basis for type-safe .
    *We can use exceptions for error handling
    *You can use namespaces for avoid confusion.
    *The C subset of C++ for C compatibility and system-level work
    *It's standard containers and algorithms
    *It's easy to use standard strings, I/O streams, and numerics

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: why C++ is a powerful programming language than C?

    Due to it's very strong features C++ is more powerful than C.It supports following features:


    1. Parameter Passing:There are two way in C++ to exchange parameter one is pass-by-value and other is pass-by-reference. These method are extensively use in program.

    2Variables:Variable is attribute where similar type of things are collected.

    3.Pointers: Pointer is variable has exactly the same set of attributes as any other C++ variable.It is some time difficult to learn.

    4.Classes and Objects:In C++ class encapsulates a set of values and a set of operations. The values may be member variables of the class and the operations by the member functions of the class. The instances of a class are also called as objects.

    5.Inheritance:In C++ it may happened that one class may be derived from another class. The derived class inherits all the member variables and the member functions of the base class or super classe.

Similar Threads

  1. Google's Go programming language
    By Trio in forum Software Development
    Replies: 1
    Last Post: 07-06-2011, 12:12 AM
  2. What are HTA in Programming Language?
    By Silent~Kid in forum Software Development
    Replies: 4
    Last Post: 27-02-2010, 05:31 AM
  3. Socket programming: Is any new Programming Language?
    By Kushan in forum Software Development
    Replies: 3
    Last Post: 14-11-2009, 11:13 AM
  4. Your favourite programming language
    By windwithme in forum Software Development
    Replies: 8
    Last Post: 01-10-2008, 07:39 PM
  5. Recommend Programming language
    By go raiden in forum Software Development
    Replies: 3
    Last Post: 25-08-2008, 07:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,475,813.09495 seconds with 16 queries