Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

do I have to know C++????

if I want learn c programing language is that easier to know c++.

4 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    The differences of C and C++ from its founder's (Bjarne Stroustrup) point of view:

    1) C++ is a better C.

    2) C++ supports data abstraction.

    3) C++ supports object-oriented programming.

    (if it is not clear what (2) and (3) mean, don't worry for now).

    - About 90% of C is just used the same way in C++.

    - C++ has offered a better alternative for about 8-9% of C. But those features are still in active use in C++.

    - About 1-2% of C is no longer valid in C++.

    So, you can see that C is still alive in C++.

    Besides, C++ supports data abstraction (generalized concept of abstract data types like vectors, matrix, complex numbers, ...) as well as object-oriented programming.

    [

    comment about object oriented programming.

    In the conventional procedural programming, a program consists of variables of simple types, and programmers use the functions (and procedures) to manipulate the variables.

    A variable has a type and a value.

    More complex variables are arrays (a collection of variables of the same type) and structures (a structure is a variable with multiple fields of different types and values).

    In object oriented programming, a program consists of objects of different classes which interact with each other.

    An object is a generalized concept of a variable.

    A class is a generalized concept of data types,

    An object (and a class) does not have a value like a variable, it has properties, methods and call-back-methods called events.

    ]

    Therefore,

    - If you choose to learn C first, you should know that you are learning the first half of C++.

    - If you choose to learn C++ directly, you should know that when you have finished, you already know C.

    It doesn't really matter which one you learn first. So, why not learning the better one, C++?

  • Anonymous
    1 decade ago

    No you should first learn c then c++

    Beacuse c is the base language of c++

    If you first learn c then it will be easy to learn c++.

  • 1 decade ago

    You need to learn C first and then C++

  • Anonymous
    6 years ago

    C is a basic of c++

    Source(s): globelsoft.blogspot.com/
Still have questions? Get your answers by asking now.