Skip to content

Latest commit

 

History

History
56 lines (26 loc) · 2.14 KB

README.md

File metadata and controls

56 lines (26 loc) · 2.14 KB

Hospital Management System

Hospital Management System is a system enabling hospitals to manage information and data related to all aspects of healthcare – processes, providers, patients, and more.

Object Oriented Programming

Object-oriented programming is essentially a concept or technique for computer programming that models software architecture around data or objects rather than functions and logic.A data field is referred to as an object if it has distinct characteristics and behaviour. In OOP, everything is categorised as objects.

Among developers, it is the most often used programming paradigm. Large, complicated, and actively updated or maintained programmes work well with it. It provides fundamental ideas like abstraction, inheritance, polymorphism, and encapsulation, which make programme creation and maintenance easier. These fundamental ideas define OOP.

User-defined data types called classes serve as the building blocks for specific objects, properties, and methods. Objects are instances of a class that were generated using data that was defined. Objects can be an abstract concept or a real-world thing. 

Exception Handling

Exception handling in C++ consist of three keywords: try, throw and catch:

  1. The try statement allows you to define a block of code to be tested for errors while it is being executed.
  2. The throw keyword throws an exception when a problem is detected, which lets us create a custom error.
  3. The catch statement allows you to define a block of code to be executed, if an error occurs in the try block.