C++ DEVELOPER SITE
PYTHONPHPJAVA
 

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++

C++ is a superset of C

Object-Oriented Programming

  • Polymorphism
  • Data hiding
  • Inheritance
  • Encapsulation
  • he 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 using namespace.std;
    int main(){
    cout<<"Hello world!";
    return 0;
    
    }
    
    

    Note:

    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.