Skip to main content

C++ programming



#include <iostream>

using namespace std;

int main(){

 cout << "Hello world" << endl;

 return 0;
}

OR

#include <iostream>

using namespace std;

int main(){

 cout << "Hello world" ;

 return 0;
}

Explanation 

#include <iostream> are also called per-processor directives which includes files that the computer needs to run later in the program.

using namespace std; is a standard library.
A standard library in computer programming is the library made available across implementations of a programming language.

int stands for integer.

int main( ){
return 0; } this stands for functions. Functions are things a programmer wants the computer to do. they are made up of statements which ends up with " ; ".