hello world

Here is a overview of Standard C++ Library reference

basic.cpp

#include <iostream>
// line comment
/* block comment */
/* my second program in C++
   with more comments */ 
int main()
{
  std::cout << "Hello World!\n";  // prints Hello World!
  return 0;
}

using namespace

#include <iostream>
using namespace std;

int main(){
    cout<<"hello world"<<endl;
    return 0;
}

what you will learn?

  1. how to install IDE
  2. write the 1st program "hello world"
  3. explain each line of the "hello world" program
  4. make comments in 2 ways
  5. use namespace

results matching ""

    No results matching ""