Wednesday 11 July 2018

PROGRAMMING LANGUAGE C++

PROGAMMING LANGUAGE ( C++ )

Want to know more programming langauges click on these link..



FACTS OF OOPS
  • C++ oops aspect was inspired by a computer simulation language called simula 67.
  • some major Operating system of modern times are Written in C++.
  • JAVA is written in C++.
  • C++ is a Object Oriented Programming ( OOP ) language which resolves around the concept of object .
  • An entity in the system that can be defined as a set of properties & set of operations performed using entity property set is known as Object.
  • OOP is a set of principle that are used by programmer to handle a large program easily.
  • OOP is a method in which we divide our program in objects.



Features of C++ .

  • C++ is a Middle level language.
  • C++ supports Object Oriented Paradigm.
  • C++ joins three separate programming tradition.
  • Shared with non OOP predecssor language.
  • Objects and classes.
  • Class based vs prototype based.
  • Dynamic dispatch.
  • Encapsulation.
  • Composition, Inheitence, and delegetion.
  • Polymorphism.
  • Open Recursion.



APPLICATION OF OOPS

  • Client server system.
  • Object Oriented Database.
  • Object Oriented Distributed Database.
  • Real time system Design.
  • Simulation and Modeling system.
  • Hypertext, Hypermedia.
  • Neural Networking and Parallel programming.
  • decision support and office Automation system.


IMPORTANT PRINCIPLES IN OOPS

  • ENCAPSULATION 
  • ABSTRACTION
  • DATA HANDLING 
  • POLYMORPHISM
  • INHERITENCE

In C++ to avoid corruption of data we need three kinds of access specifier.

  • Private 
  • Public
  • Protected.
CONCEPT OF CLASS AND OBJECT IN OOPS

  • Class is a blueprint of an object.
  • Class is a description of object property set and set of operation.
  • Creating class is as good as definig a new datatype.
  • Object is a run time entity.
  • Object is an instance of a class.


Difference between Object and Class

    Object                                                                      Class
It is an instance of a class                                            Claas is a blueprint from which object is created.
Object is a real world entity                                        Class is a group of similar objects or information
such as pen, laptop, etc.                                               It is a logical entity.
It is a physical entity.                                                   Class is declared using class keyword.
Object is created through new keyword                       ex. class student{};
mainly. ex s.1 = newstudent();
Obj are created many times as per requirement.         Class is declared once.
It allocates memory when it is created.                       Class doesnt allocate memory when it is created.

C++ Functions.
BENEFITS OF FUNCTION

  • Easy to read.
  • Easy to modify.
  • Avoids rewriting of same code.
  • Easy to debug.
  • Better memory utilization.


https://chat.whatsapp.com/LQwOhM1jvx25uNG5LXxU2f
( If you want to interested in my blogs and wants more then join my whatsapp group ).



we buy cars for cash cash for car cash for cars cash cars we buy junk cars buy junk cars sell my junk car near me sell my car for cash sell car for cash sell my car for cash today cash 4 cars we buy cars for cash Car Removals Sydney https://unwantedcarremovalsydney.com.au Cash for Scrap Cars Service Unwanted Car removals Car Removal Sydney Car Removal Car Removals Car Removals Sydney Car Removals Sydney

2 comments:

  1. online coding for kids Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.

    ReplyDelete

( DIGITAL INDIA ) DIGITAL NETWORKING SERVICE

DATA COMMUNICATION AND NETWORKING With the advancement of Data Communication facilities the communication between computers has increa...