THE ADVANTAGES OF OBJECT-ORIENTED PROGRAMMING USING C++
Object-oriented programming is a new way of approaching the job of programming. Programming over the years has evolved to accommodate the increased complexity of programs. (1) Structured, easy to understand programming has been around since the late 60's. These advances allowed programmers to write fairly complex programs relatively easy using such languages as C and Pascal. However, once a program reached a certain size it was just too complex to manage. In 1980 at Bell Laboratories in Murray Hill, New Jersey, Bjarne Stroustrup developed a new programming paradigm. (2) His new concept was built on structured programming and incorporated a few new powerful ideas. Some of the more noteworthy include Classes, Polymorphism, overloading, and inheritance.
C itself is a powerful language to begin with. C++ builds on C to make it much easier to deal with very large programs, as well as providing the tools to build black bo
Hello world there are 7 days in a week
Encapsulation is the mechanism that binds together code and data. (3) This is also the concept that allows the construction of objects. The mechanisms to arrive at the output are hidden, or encapsulated, from the programmer. This gives protection against some other, unrelated part of the program accidentally modifying or using the private part of the object. In essence, an object is a data type defined by the programmer and by using overloading, the object can be treated like a data type.
All papers and essays are for research and reference purposes only!
Copyright 2002-2009
Direct Essays , LLC. All Rights Reserved. DMCA Webmasters make $$$$