Creating a Hello World
- Thiago
- 25 de set. de 2015
- 1 min de leitura

In this post we will learn how to make the computer display "Hello World! " In C ++ that first program has introduced many concepts about language.
The following code :
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!" << endl;
system("pause");}
No need to hold the details. In the above program, we pay attention only to the contents of this key :
{
cout << “Hello World!”;
Return 0;
}
Cout;
The word comes cout Oct. console, which usually have the output to the monitor. Cout is followed by the operator << and the phrase that you want to inform , that gives us the idea that the sequence of characters will be taken to cout .
Return 0;
This command ends the program that is a callback function.
Comments