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

Manoeuvring Through The Boulevard Of Unity.

   If this one institution in this country which is apolitical, incorruptible, which has delivered each time when they have been called out, most of you would agree it is Indian armed forces. Whether it is an external aggression, internal problem or aid to civil authorities they have been always there.    Troops in combat have tough situations. At times just for you to know,when to attack a post held by a section of 10 men, the ratio of attackers to defenders is 4:1. Which means to attack a section you have to

The Magic Of Thinking Big

    It's about a sergeant in Hungarian army - karoly Takacs . He was the top pistol shooter of his country back in 1938. He had won most of the major national and international Championships. He seemed  the closest to win the 1940 Tokyo Olympic Games.    A hand grenade ended up destroying his shooting hand and his Olympic dream. He had nerves of steel. He could have looked for sympathy, instead he looked for ways to convert his dream into beautiful reality. After spending a month in hospital, he decided not to feel pity for himself for rest of his life. He had only one dream that was Olympic gold. He had the will, he had the attitude, he had the determination to succeed. He figured out that he still had one healthy hand. He decided to practice in his left hand. Despite all problems he focused on his goal and practiced. He was determined to make his left hand the best shooting hand in the world.   One year later Karoly resurfaced at a national Champio...

HOW TO BE POPULAR

  why are some people effortlessly popular and well liked? By contrast, other people, no matter how hard they try, never seem to be able to gain the same trust and respect. Even if we may not like to admit it, most people secretly crave the respect and admiration of other people. These are some factors which can lead to a natural popularity. Don’t Try to Be Popular. It is a mistake to try and become popular. When we seek to impress others and please them, it inevitably encourages us to offer false flattery and think about what they want us to do and say. When we behave like this our ego comes to the fore, and we hide our real self. This kind of behaviour may temporarily impress some people, but, in the long term it is not sustainable. We have to base friendship on being our natural self, and avoid extravagant attempts to rise in other people’s esteem. Think of Others more than you think of your self. People appreciate those who are considerate of others. If you on...