BASIC TERMS OF C++

█████████████████████████████████████████████████████████████████████████████████████████████████████████

  • ; = is used to close out that line of code means we are done with it

    EXAMPLE...

    cout << "hello my name is..." << endl;

    =========================================================================================================

  • endl; = is used to close out that line of code and make a new one under it

    EXAMPLE...

    cout << "hello world" << endl;

    cout << "my name is..." << endl;

    =========================================================================================================

    \n = is the alternative for "endl" it just creates a new line just like endl !

    -

    -

    █████████████████████████████████████████████████████████████████████████████████████████████████████████