Conteúdo do Curso
Introdução ao C++
Introdução ao C++
O Primeiro Programa
O primeiro programa tradicional em qualquer linguagem de programação costuma ser um programa simples que exibe uma mensagem no console.
Input and Output
The most common way to output information to the console is by using iostream library. It is stands for input/output stream.
As we already know, to add library to our program we have to include it.
Character output
The cout
stream is part of the iostream library and is used for standard output.
std::
: it means that the identifier is part of the standard library, which is organized under the std namespace.cout
: stands for character output and is used to send output.<<
: it is used to insert data into the standard output stream.
Saída de caracteres
O cout
é parte da biblioteca iostream e é utilizado para saída padrão.
Tarefa
Create a program that outputs your message.
Obrigado pelo seu feedback!
O Primeiro Programa
O primeiro programa tradicional em qualquer linguagem de programação costuma ser um programa simples que exibe uma mensagem no console.
Input and Output
The most common way to output information to the console is by using iostream library. It is stands for input/output stream.
As we already know, to add library to our program we have to include it.
Character output
The cout
stream is part of the iostream library and is used for standard output.
std::
: it means that the identifier is part of the standard library, which is organized under the std namespace.cout
: stands for character output and is used to send output.<<
: it is used to insert data into the standard output stream.
Saída de caracteres
O cout
é parte da biblioteca iostream e é utilizado para saída padrão.
Tarefa
Create a program that outputs your message.
Obrigado pelo seu feedback!
O Primeiro Programa
O primeiro programa tradicional em qualquer linguagem de programação costuma ser um programa simples que exibe uma mensagem no console.
Input and Output
The most common way to output information to the console is by using iostream library. It is stands for input/output stream.
As we already know, to add library to our program we have to include it.
Character output
The cout
stream is part of the iostream library and is used for standard output.
std::
: it means that the identifier is part of the standard library, which is organized under the std namespace.cout
: stands for character output and is used to send output.<<
: it is used to insert data into the standard output stream.
Saída de caracteres
O cout
é parte da biblioteca iostream e é utilizado para saída padrão.
Tarefa
Create a program that outputs your message.
Obrigado pelo seu feedback!
O primeiro programa tradicional em qualquer linguagem de programação costuma ser um programa simples que exibe uma mensagem no console.
Input and Output
The most common way to output information to the console is by using iostream library. It is stands for input/output stream.
As we already know, to add library to our program we have to include it.
Character output
The cout
stream is part of the iostream library and is used for standard output.
std::
: it means that the identifier is part of the standard library, which is organized under the std namespace.cout
: stands for character output and is used to send output.<<
: it is used to insert data into the standard output stream.
Saída de caracteres
O cout
é parte da biblioteca iostream e é utilizado para saída padrão.
Tarefa
Create a program that outputs your message.