,
endl,
std::endl">
The following code example is taken from the book
Object-Oriented Programming in C++
by Nicolai M. Josuttis, Wiley, 2002
© Copyright Nicolai M. Josuttis 2002
/* the first C++ program
* - just outputs `Hello, World!'
*/
#include <iostream> // declarations for I/O
int main() // main function main()
{
/* print `Hello, World!' on standard output channel std::cout
* followed by an endline (std::endl)
*/
std::cout << "Hello, World!" << std::endl;
}