Introduction to C++
What is C++
C++ is an 'Object Oriented Programming'(OOP) language. It is a new way of approaching
the job of programming.
Object Oriented Programming language deals with 'classes and objects' and other its principles
like inheritance, polymorphism, encapsulation and many others.
Object Oriented Programming takes the best ideas of structured programming and combines
them with powerful, new concepts that encourage the user to look at the task of programming
in a new light.
What led to the development of C++
C++ is an expanded version of C. C is flexible, powerful and it has been used to create some of the important softwares.
However, when a project exceeds a certain size, then it is difficult to make that project in C.
This problem was solved by C++.
Who developed C++
Bjarne Stroustrop developed C++ in 1983 at AT & T Bell Labs, New Jersy, USA.
Initially it was called as "C with Classes" but the name was changed to C++.
What does the sign '++' represents in C++
The idea of C++ comes from the C increment operator '++', suggesting that C++ is an advanced
or incremental version.
Note :
The basics of C++ like:
-Conditional statements
-Loops structure
-Variables and constants
-Arrays
-Functions
-Pointers
-Operators
-Data Types
-File Handling
and others are of same concepts and Syntax as in C language. There will be only differences
in header files--'iostream.h' will be used instead of stdio.h and cin and cout is is used for input and output .
Hence if you know C then half of the C++ is almost you know..!!!
C++ will differ in the topics like :
-Classes and Objects
-Inheritance
-Polymorphism
-Encapsulation
and others.
NEXT
0 comments:
Post a Comment