Introduction to Object Oriented Programming.


     Introduction to Object-Oriented Programming

To familiarize students with C++ Programming Language and Turbo C++ Integrated Development Environment (IDE).



Turbo C++ IDE


Create new C++ Programming Language File, save, write basic commands, compile, run, open an existing file and quit Turbo C++ IDE.
The object oriented programming is commonly known as OOP. Most of the languages are developed using OOP concept. Object-oriented programming (OOP) is a programming concept that uses "objects" to develop a system. A programming object has an ability to perform actions and has attributes. It performs just like real world entities for e.g. a motor bike. A bike performs actions such as 'Start', 'Stop' etc. and it has attributes like red color, 150cc etc. So does an Object. Actions and attributes are represented by Methods and fields or properties respectively in programming language. An object hides the implementation details and exposes only the functionalities and parameters it requires to its client. Here also an object shares the same concept as that of a bike. While driving a motor bike, we are unaware of its implementation details such as how it is developed, internal working of gears etc.? We know only the functions or actions it can perform

The following are basic commands for C++ Program.
       Preprocessor Directives (Standard Library Headers)
       main() function
       Statement Terminator (;)

Post a Comment