C++ Tutorial

C++ is general peruse programming language.It is use for making computer application more.

History of C++.

C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs.

C++ is a superset of C

Object-Oriented Programming

There are following function in C++ :-
  • Polymorphism
  • Data hiding
  • Inheritance
  • Encapsulation
  • ANSI Standard

    ANSI standard is an attempt to ensure that C++ is portable; you can run MS will compile without errors, using a compiler on a Mac, UNIX, a Windows box, or an Alpha.

    Use of C++

    C++ is used by programmers in essentially every application domain.

    Apple Macintosh or a PC running Windows has indirectly used C++ because the primary user interfaces of these systems are written in C++

    Hello World!

    #include  <iostream.h>
    using namespace.std;
    int main(){
    cout<<"Hello world!";
    return 0;

    Run Example ยป


    std stands for standard.
    {} indicate the beginning and end of function.
    Cout is use of combination with inserted operator.
    stream function use to from input and output. Statement

    Block is set of logically connected statement.

    Return statement Return statement of turn off(end of statement) Basically Return 0; use to end statement.