Post

Hello World

Welcome to the world of C++ programming! This is a very simple example which will print the classic greeting message, "Hello World!!!" to the console.

It’s a fundamental first step for anyone learning a new programming language, as it demonstrates the basic structure of a C++ program and also tests your development environment.

Code

1
2
3
4
5
#include <iostream>

int main() {
  std::cout << "Hello World!!!" << std::endl;
}

Output

1
Hello World!!!
This post is licensed under CC BY 4.0 by the author.