Tuesday 11 September 2012

C++ ( Tutorials XIV )


Defination of C++ :-

C is much more efficient than BASIC, a new concept called Object Oriented Programming seemed better than C. OOP was the basis of C++(which was initially called ‘C with classes’).C++ was developed by Bjarne Strastroup.In object oriented programming the programmer can solve problems by breaking them down into real-life objects (it presented the programmer with an opportunity to mirror real life). What is an object? This topic is dealt with extensively in the chapter on ‘Objects and Classes’ but a brief introduction is provided here.
Consider the category of cars. All cars have some common features (for example all cars have four wheels, an engine, some body colour, seats etc.). Are all cars the same? Of course not. A Fiat and a Ford aren’t the same but they are called as cars in general. In this example cars will form a class and Ford (or Fiat) will be an object.

0 comments:

Post a Comment