UrbanPro
true

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

C++ Advanced Course Study With C++11 Features

Madhusudan Samantray
24/07/2017 0 0

OOPS(Object Oriented Programming Systems) In C++.

Types of Languages

2GL(Basic,Instruction programming to microprocessors/MC), 3GL(COBOL(= EQUALS TO),C++,C,PASCAL,Java,C#) 4GL(HTML,CSS,JSON)

 Style Of Programming:

1. Procedureal Programming:

->SET of procedure calls.

->Exececutes statement by statement

-> ADD 2 numbers

ACCEPT A

ACCEPT B

RESULT EQUALS ADD A TO B

MULTIPLY A TO B

  • It operates on same chunk of memory

2. Strctural Programming:

->Top to Bottom Approach

Understanding the problem and dividing into subsystems .Allow the subsystems to perform individually if required they will communicate between other subsystems.

  • Modularization

OOPS

What is an OBJECT ?

Object is something which can exist in an independent state and which has tangible and non-tangible properties.

Why OBJECT ?

What an object contains?

1. Properties (data types ): à Data members

  1. To act on those properties (functions ,set of statements which will operate on data(properties ))--à Member functions

When ever communication between the object is required it is done,

Eradicate the unncecessary dependencies .

SYSTEM :

A system which performs some useful task .

Bottom To TOP Approach .

1. How much we can divide the large scale system (till it is the smallest but independent ).

You can talk between the objects.

 Object is the smallest entity with meaningful info. That exists independently.

Basic Requirement for a language to be called as an OOP.

1. Independency: Encapsulation

2 . Security of the object: Abstraction

3. Reusability and extendibility: Inheritance

4. It makes the object dynamic:  Polymorphism

Any language implements the above 4 rules is called as OOP.

C++ does not forces a programmer to code in oop way.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Magic in C=> OFFSET OF MACRO in C [offsetof(TYPE, MEMBER)]
Here I am going to discuss an exciting macro in C. It will give you offset of a member within a structure. NULL or 0 address is typecasted to TYPE first. It won't result in segmentation fault as we are...

Tress And Its Traversal
Depth First Traversals:(a) Inorder (Left, Root, Right) : 4 2 5 1 3(b) Preorder (Root, Left, Right) : 1 2 4 5 3(c) Postorder (Left, Right, Root) : 4 5 2 3 1 Trees are one of the data structures like...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

Predict the Output of C Questions based on Recursion and Macro
#include<stdio.h>void k(unsigned int i,unsigned int j){ static char x="0123456789ABCDEF"; if(i>=j) k(i/j,j); putchar(x);}void main(){ k(20,12);} ___________________________________________ ...

How are C And C++ Different Form Each Other
1.C and C++ both have data types operator and conditional looping control statements. But the difference is that C++ has to object-oriented concepts which C programs do not have. Hence C program is like...
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more