Skip to main content

object oriented programming language


                 An overview of object oriented programming language
                                                  (C++)

The Objective oriented programming language continues to grow in popularity and usage. This is due to the power and ease-of-use of the language itself, along with the numerous features that continue to be added to the platform. Many programmers have developed a basic knowledge of the language and now want to further their expertise. The basic for C++ language is C. C language was invented and first implemented by Dennis Richie at AT &T Bell Laboratories, an American research company. C is basically a structured procedure oriented language. But C differs a lot from C++. Data hiding is main key of c++, unlike in C which means you can hide the data from the external functions and those data can be accessed by only the function confined to it. In C the data can be accessed by any function you defined, there were no restrictions that to which only function should have access to those data member’s. For example suppose that a company have some important data and that company wants that data should not be accessed by all the members in the company, only few people should have access to that. That’s where data hiding comes into picture and C doesn’t have that features. So to overcome that c++ was developed.

C++:
The major motivating factor in the convention of object oriented programming approach is to solve some of the flaws encountered in the procedural approach. OOP (object oriented programming) treats data as critical element in the programming development and does not allow it to flow freely around a system. It ties data more closely to the functions that operate on it and protects it from accidental modifications from outside world. OOP allow us to decompose into a number of entities called ‘objects’ and builds data and functions around these entities.

Features of OOP:-
1. Emphasis is on data rather than function.
2. Programs are divided into objects.
3. Data structure are designed such a way that they characterise the object.
4. Functions that operate on data of an object are tied together in data structure.
5. Data is hidden and cannot be accessed by external functions.
6. Objects communicate with each other through functions.
7. New data functions can be easily added whenever necessary.
8. Follows bottom up approach in program design.

Oop definition-:
It is an approach that provides a way of modularising the program by creating partitioned memory area for both data and functions that can be used for creating copies of such modules on demand.

And that’s an overview of c++. I shall be discussing on further more important things like programming, special features of c++,its built in data types and much more...

Comments

Post a Comment

Popular posts from this blog

Foreword to Avyukta English

Avyuktha is a word of Sanskrit origin. It means crystal clear. Contextually it sounds two meanings.    1) To be transparent    2)To understand easily We through this blog aim at providing     1) An inch of knowledge about different fields     2) Synchronise modern thoughts with ancient Indian knowledge  

Why are you so irrational Mr.Pi?

The story starts almost 4000 years back in the civilization of Babylonia. With civilization, started man's interaction with geometry. There was a need to understand geometry of everyday objects to make life easier. It so happened that the Mathematician or Logician of that period came across an ingenious method for some purpose. But for it to work there was a small hitch which had to be solved. i.e he wanted area.of square some size to be equal to area.of circle some radius. His problem was to find the radius given the side of square or vice versa. Poor guy struggled hard, looking at his struggle others of his era helped him .But none succeeded. Around a century or two later and 3000 km away in Greece this problem was recast by Hippocrates as "Quadrature of Circle" i.e the problem was to construct a circle from a square just by using an unmarked straight edge and a compass. Even he failed. Soon the list of failed got longer and longer, including some great mathemat

Ripples in the Cosmos : Einstein's Messengers

Relativity was called “Einstein's Symphony”. Such was its beauty and Mathematical consistencies. Einstein had proposed his Special Theory of Relativity in 1905 and further generalised it to the gravitational case in his General Theory of Relativity in 1915.  Among many predictions, the bending of light due to gravitational fields was the most accessible at the time. This was confirmed  on May 29, 1919 , at the end of First World War by Sir Arthur Edington when he observed total solar eclipse by travelling to South Africa. This was a major triumph and set the base for further exploration in General Relativity and gave it the credibility. It  predicted many phenomena like Black Holes, Gravitational Lensing etc. All of these were confirmed and one of the last unconfirmed major predictions was Gravitational Waves. An artist's impression of   Merging of Black Holes So what is a Gravitational Wave? In short, it is like any other ripple that you see in some like medium lik