Object Oriented Programming Using C++


Object Oriented Programming Using C++
𝐶++ 𝑖𝑠 𝑎𝑛 𝑂𝑏𝑗𝑒𝑐𝑡 𝑜𝑟𝑖𝑒𝑛𝑡𝑒𝑑 𝑝𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 𝐿𝑎𝑛𝑔𝑢𝑎𝑔𝑒.𝐼𝑡 𝑖𝑠 𝑑𝑒𝑣𝑒𝑙𝑜𝑝𝑒𝑑 𝑖𝑛 1980 𝑎𝑛𝑑 𝑛𝑜𝑤 𝑖𝑡 𝑏𝑒𝑐𝑜𝑚𝑒 𝑝𝑜𝑤𝑒𝑟𝑓𝑢𝑙 𝑡𝑜𝑜𝑙 𝑓𝑜𝑟 𝑑𝑒𝑣𝑒𝑙𝑜𝑝𝑖𝑛𝑔 𝑠𝑜𝑓𝑡𝑤𝑎𝑟𝑒 . 𝐸𝑣𝑒𝑟𝑦 𝑠𝑡𝑢𝑑𝑒𝑛𝑡 ℎ𝑎𝑣𝑒 𝑡𝑜 𝑙𝑒𝑎𝑟𝑛 𝐶++ (𝑂𝑏𝑗𝑒𝑐𝑡 𝑂𝑟𝑖𝑒𝑛𝑡𝑒𝑑 𝑃𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 ) 𝑒𝑖𝑡ℎ𝑒𝑟 𝑖𝑛 𝑖𝑡𝑠 𝑀𝑎𝑠𝑡𝑒𝑟 𝑜𝑟 𝑔𝑟𝑎𝑑𝑢𝑎𝑡𝑖𝑜𝑛 𝐷𝑒𝑔𝑟𝑒𝑒 .𝑆𝑜 𝐼 𝑏𝑟𝑖𝑛𝑔 𝑓𝑜𝑟 𝑦𝑜𝑢 𝑎𝑛 𝑎𝑚𝑎𝑧𝑖𝑛𝑔 𝑡𝑢𝑡𝑜𝑟𝑖𝑎𝑙𝑠 𝑡𝑜 𝑙𝑒𝑎𝑟𝑛 𝑂𝑏𝑗𝑒𝑐𝑡 𝑂𝑟𝑖𝑒𝑛𝑡𝑒𝑑  𝑝𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 𝑖𝑛 𝑣𝑒𝑟𝑦 𝑠𝑖𝑚𝑝𝑙𝑒 𝑤𝑜𝑟𝑑𝑖𝑛𝑔 . 𝑀𝑦 𝑚𝑜𝑠𝑡𝑙𝑦 𝑐𝑜𝑛𝑡𝑒𝑛𝑡 𝑖𝑠 𝑡𝑎𝑘𝑒𝑛 𝑓𝑟𝑜𝑚 𝐼𝑇 𝑆𝑒𝑟𝑖𝑒𝑠 𝐵𝑜𝑜𝑘 ( 𝑂𝑏𝑗𝑒𝑐𝑡 𝑂𝑟𝑖𝑒𝑛𝑡𝑒𝑑 𝑃𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔). 
𝐼𝑛 𝑡ℎ𝑖𝑠 𝑡𝑢𝑡𝑜𝑟𝑖𝑎𝑙𝑠 𝐼 𝑤𝑖𝑙𝑙 𝑡𝑒𝑎𝑐ℎ 𝑦𝑜𝑢 𝑎𝑏𝑜𝑢𝑡 𝑂𝑂𝑃 𝑓𝑟𝑜𝑚 𝑏𝑒𝑔𝑖𝑛𝑛𝑖𝑛𝑔 𝑡𝑜 𝑎𝑑𝑣𝑎𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙 . 𝐸𝑖𝑡ℎ𝑒𝑟 𝑖 𝑤𝑖𝑙𝑙 𝑡𝑟𝑦 𝑡𝑜 𝑚𝑎𝑘𝑒 𝑣𝑖𝑑𝑒𝑜 𝑡𝑢𝑡𝑜𝑟𝑖𝑎𝑙𝑠 𝑓𝑜𝑟 𝑦𝑜𝑢 . 𝑠𝑜 𝑦𝑜𝑢 𝑙𝑒𝑎𝑟𝑛 𝑖𝑡 𝑣𝑒𝑟𝑦 𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡𝑙𝑦 𝑎𝑛𝑑 𝑒𝑎𝑠𝑦.

  𝐖𝐡𝐚𝐭 𝐢𝐬 𝐏𝐫𝐨𝐛𝐥𝐞𝐦 𝐬𝐨𝐥𝐯𝐢𝐧𝐠

 𝑃𝑟𝑜𝑏𝑙𝑒𝑚 𝑠𝑜𝑙𝑣𝑖𝑛𝑔 𝑖𝑠 𝑡𝑒𝑐ℎ𝑛𝑖𝑞𝑢𝑒 𝑖𝑛 𝑤ℎ𝑖𝑐ℎ 𝑤𝑒 𝑓𝑖𝑛𝑑 𝑡ℎ𝑒 𝑏𝑒𝑠𝑡 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛 𝑓𝑜𝑟 𝑡ℎ𝑎𝑡 𝑝𝑟𝑜𝑏𝑙𝑒𝑚 .𝐸𝑣𝑒𝑟𝑦 𝑝𝑟𝑜𝑏𝑙𝑒𝑚 𝑖𝑠 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑖𝑠 𝑛𝑎𝑡𝑢𝑟𝑒 𝑎𝑛𝑑 ℎ𝑎𝑣𝑒 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛 . 𝑜𝑛𝑒 𝑠ℎ𝑜𝑢𝑙𝑑  ℎ𝑎𝑣𝑒 𝑡𝑜 𝑠𝑒𝑙𝑒𝑐𝑡 𝑓𝑎𝑠𝑡𝑒𝑟,𝑒𝑎𝑠𝑦 𝑎𝑛𝑑 𝑙𝑒𝑠𝑠 𝑒𝑥𝑝𝑒𝑛𝑠𝑖𝑣𝑒 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛.

𝐖𝐡𝐚𝐭 𝐢𝐬 𝐏𝐫𝐨𝐠𝐫𝐚𝐦

𝐼𝑡 𝑖𝑠 𝑠𝑒𝑡 𝑜𝑓 𝑖𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛 𝑡ℎ𝑎𝑡 𝑡𝑒𝑙𝑙𝑠 𝑡ℎ𝑒 𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑟 𝑤ℎ𝑎𝑡 𝑡𝑎𝑠𝑘 𝑡𝑜 𝑑𝑜 .𝐶𝑜𝑚𝑝𝑢𝑡𝑒𝑟 𝑤𝑜𝑟𝑘𝑠 𝑜𝑛 𝑡ℎ𝑒 𝑏𝑎𝑠𝑖𝑐𝑠 𝑜𝑓 𝑖𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛 .𝑇ℎ𝑒 𝑝𝑒𝑟𝑠𝑜𝑛 𝑤ℎ𝑜 𝑖𝑛𝑠𝑡𝑟𝑢𝑐𝑡 𝑡ℎ𝑒 𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑟 𝑡𝑜 𝑝𝑟𝑜𝑐𝑒𝑠𝑠 𝑑𝑎𝑡𝑎 𝑖𝑛𝑡𝑜 𝑡ℎ𝑒 𝐼𝑛𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛 

𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧 𝐓𝐨 𝐂++

𝐶++ 𝑖𝑠 𝑎𝑛 𝑂𝑏𝑗𝑒𝑐𝑡 𝑜𝑟𝑖𝑒𝑛𝑡𝑒𝑑 𝑝𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 𝐿𝑎𝑛𝑔𝑢𝑎𝑔𝑒 . 𝐼𝑡 𝑖𝑠 𝑣𝑒𝑟𝑦 𝑝𝑜𝑤𝑒𝑟𝑓𝑢𝑙 𝑝𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 𝑙𝑎𝑛𝑔𝑢𝑎𝑔𝑒 𝑎𝑛𝑠 𝑖𝑠 𝑢𝑠𝑒𝑑 𝑡𝑜 𝑏𝑢𝑖𝑙𝑡 𝑣𝑎𝑟𝑖𝑒𝑡𝑦 𝑜𝑓 𝑝𝑟𝑜𝑔𝑟𝑎𝑚.𝑖𝑡 𝑤𝑎𝑠 𝑑𝑒𝑣𝑒𝑙𝑜𝑝𝑒𝑑 𝑖𝑛 1980 𝑎𝑡 𝐵𝑒𝑙𝑙 𝐿𝑎𝑏𝑜𝑟𝑎𝑡𝑜𝑟𝑖𝑒𝑠.𝐼𝑡 𝑖𝑠 𝑎𝑛 𝑖𝑚𝑝𝑟𝑜𝑣𝑒𝑑 𝑣𝑒𝑟𝑠𝑖𝑜𝑛 𝑜𝑓 𝐶 𝑙𝑎𝑛𝑔𝑢𝑎𝑔𝑒 . 𝐼𝑡 𝑝𝑟𝑜𝑣𝑖𝑑𝑒𝑠 𝑡ℎ𝑒 𝑓𝑎𝑐𝑖𝑙𝑖𝑡𝑖𝑒𝑠 𝑡𝑜 𝑤𝑜𝑟𝑘 𝑤𝑖𝑡ℎ 𝐶𝑙𝑎𝑠𝑠𝑒𝑠 𝑎𝑛𝑑 𝑂𝑏𝑗𝑒𝑐𝑡.

Feature of C++.

There some important  Features of 𝑂𝑏𝑗𝑒𝑐𝑡-Oriented Programming Language.

C ++ Convenient Language.

C++ language is a very convenient language it provides many facilities in difficult to use in low level language programmers can write Complex programs as compared to the programming language.

Well-Structured Language.

C++ well-structured language its Syntax is very easy to understand and the program written in C ++ language can easily to maintain and modify.

Case Sensitive.

C++ is a case sensitive language. It means that it can be differentiate uppercase and lowercase words. This features makes it easier to maintain the source code.
Machine Independent.
C++ language provides machine Independence it means that the program written in C language can be executed on different types of computer, for example a program written in C++ can be executed on Intel processors and Motorola processors with the little modification. It is a preferable to write program in C++ rather than machine language.

Object Oriented.

C++ is an object oriented language. In object oriented technique, the program written on the basis of objects and object is a collection of data and function. Object may represent a person thing or place in real world. In OOP data and all possible functions on data are grouped together object oriented program easier to learn and modify.

Standard Library.

The standard C++ library is a set of function, constants, classes and objects to extend C++ language. It provides the basic functionality to interact with the operating systems these libraries can be reused by any programmer for writing programs more easily in less time.

Hardware Control.

C language provides close control on hardware the programmer can written efficient program to control hardware components of the computer system.

Modular Programming.

C++ language provides the facility of modular programming it means that a program can be divided into smaller modules these models can be developed and compiled independently and then linked together.

If you really likes this post, please share this post with your friends .and support to me by joining me On Social Media   
Facebook  :@Tutshub4you
Google +   :@Tutshub4you
Twitter      :@Tutshub4you



Post a Comment

If you have any question related to the above post you can comment below

Previous Post Next Post