Академический Документы
Профессиональный Документы
Культура Документы
FLEXIBLE
It is being used to develop programs for almost
everything, from operating system to spreadsheets
and database management systems. It is easy to
understand and develop programs.
PORTABLE
The main reason for the popularity of C++ is
potable.A program written in C++ can be complied
in almost all the available C++ compliers and can
be executed on any hardware and software
platform.
Object-oriented programming is a different
way thinking about programming.
In procedural programming, you think about
functions and the execution through these
functions.
An object is a self contained entity that
describes not only certain data but the
procedures to manipulate the data
An object-oriented programming gives more
emphasis on data, provides extensibility and
models real world problems very well.
ENCAPSULATION
INHERITENCE
POLYMORPHISM
Vehicles(base properties)
Automobiles(Derived properties)
Car(Derived properties)
Polymorphism is the ability for a message or
data to be processed in more than one form.
Thecombination of data and methods make
up an object.
Walking()
Speaking() Behaviour
Eating()
Every C++ program must start with
“#include” statement, which is a command
for including specific C++ libraries.
Every C++ program must have one main ()
function statement. Remember there must
be only one main() function statement in a
program.
Every C++ statement in a C++ program must
end with a semicolon”;”
Include comments in the program which must
appear within ‘//’ or /* and */.
RAGHAVENDRA.V
X-B