Introduction
In chapter 1, we covered:
std::cout
, the <<
operator, and std::endl
for new lines."string"
literal.{}
to group statements.//
.#include
directive to include <iostream>
required for printing.return 0
mean on the main
function.Make a program which prints out Goodbye cruel world!
.
<iostream>
header using #include
.int main()
function.main
function, create the line which prints out Goodbye cruel world!
.std::cout
, <<
operator, and std::endl
.