Saturday, 27 August 2016

programming

                         

C++ Tutorial

C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs in Murray Hill, New Jersey, as an enhancement to the C language and originally named C with Classes but later it was renamed C++ in 1983. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

Execute C++ Online

Try following example using Try it option available at the top right corner of the below sample code 
#include <iostream>
using namespace std;

int main()
{
   cout << "Hello World";
   return 0;
}
C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.

         Object-Oriented Programming

C++ fully supports object-oriented programming, including the four pillars of object-oriented development:
  • Encapsulation
  • Data hiding
  • Inheritance
  • Polymorphism
  •         Standard Libraries

  • Standard C++ consists of three important parts:
    • The core language giving all the building blocks including variables, data types and literals, etc.
    • The C++ Standard Library giving a rich set of functions manipulating files, strings, etc.
    • The Standard Template Library (STL) giving a rich set of methods manipulating data structures, etc.

No comments:

Post a Comment