cpp oops benefits

c++ oops benefits

OOP offers several benefits to both the program designer and the user. Object orientation concept contributes to the solution of many problems associated with the development and quality of software products. The new technology promises greater programmer productivity, better quality of software and very lesser maintenance cost.

The principal advantages are

1 Through inheritance, we can eliminate reduce the code and extend the use of existing
2. classes.
3. we can build program from the standard working modules that communicate with one another, rather than having to start writing the code from scratch. This leads to saving of the development time and high productivity.
4. the principal of data hidden helps the programmer to build secure programs that cannot be invaded by code in other parts of the program.
5. It is possible to have number of instances of an object to co exist without any interference.
6. It is possible to map objects in the program domain to those in the program.
7. It is also easy to partition the work in a project based on objects.
8. The object oriented system can be easily upgraded from small to large systems.
9. Software complexity can be easily managed.

The Disadvantages of OOPS

1. The length of the program developed using OOP language is much larger than the procedural approach. and also program get large, It requires some more time to be execution that leads to slower execution of the program then the procedural approach.
2. We can not follow Objected oriented concept everywhere as it is not universal language.
3. It is applied when it is required.It is not use for all types of problems.

Applications of OOPS

1. Real Time system.
2. object oriented database.
3. simulation and modeling.
4. Hypertext, hypermedia and expertext.
5. AI and expert systems.
6. Neural networks and parallel programming.
7. Decision support and office automation systems.

  • C++ Dynamic Initialization of Objects
  • C++ Copy Constructor
  • C++ Dynamic Constructor
  • C++ Destructors
  • C++ Exercise
  • C++ Operator Overloading
  • C++ Overloading Unary Operators
  • Const pointer in C
  • Void pointer in c
  • C++ Overloading Binary Operators
  • C++ Overloading Binary Operators Using Friends
  • C++ Manipulation String Using Operators
  • C++ Rules for overloading operators
  • C++ Exercise
  • C++ Basic To class Type
  • C++ Class TO Basic Type
  • C++ One class To another class type
  • C++ Exercise
  • C++ Inheritance introduction
  • C++ Single Inheritance
  • C++ Multiple Inheritance
  • C++ Ambiguity Resolution in inheritance
  • C++ Hierarchical Inheritance
  • C++ Hybrid Inheritance
  • C++ Virtual Base Classes
  • C++ Exercise
  • C++ abstract class
  • C++ nesting of classes
  • C++ Exercise
  • C++ polymorphism
  • C++ Exercise
  • C++ pointers
  • C++ Pointers TO object
  • C++ this pointer
  • C++ Pointer to Derived class
  • C++ Virtual functions
  • C++ Exercise
  • C++ streams
  • C++ unformatted I/O operations
  • C++ Put() and get()
  • C++ getline() and write()
  • C++ Formatted console I/O
  • C++ Manipulators
  • C++ Exercise
  • C++ file handling
  • C++ file stream classes
  • C++ Open and closing file
  • C++ open using constructor
  • C++ open using open()
  • C++ Detecting End of file
  • C++ File modes
  • C++ File pointers and Manipulators
  • C++ Sequential I/O
  • C++ Reading and Writing
  • C++ Updating a File
  • C++ Error handling In File
  • C++ Command Line Arguments
  • C++ Exercise
  • C++ Template introduction
  • C++ Class Templates with multiple Parameters
  • C++ Function templates
  • C++ Function templates with multiple parameters
  • C++ member function Template
  • C++ Exercise
  • C++ Exception handling
  • C++ Basics of Exception Handling
  • C++ Exception Handling Mechanism
  • C++ Throwing Mechanism
  • C++ Catch Mechanism
  • C++ Catch all Exceptions
  • C++ Re-Throwing An Exception
  • C++ Specifying Exceptions
  • C++ Exercise