hello, a C++ code which says "Hello, world!".

If you're just trying to learn C++, or learning how to use C++ on a different computer system, or in batch mode, it's helpful if you start with a very simple program with a tiny amount of output that should print immediately if things are working well.


The computer code and data files described and made available on this web page are distributed under the MIT license


hello is available in a BASH version and a C version and a C++ version and a FORTRAN90 version and a keras/python version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:


HELLO_MPI, a C++ code which prints out "Hello, world!" using the MPI parallel programming environment.

HELLO_OPENMP, a C++ code which prints out "Hello, world!" using the OpenMP parallel programming environment.

Source Code:

Last revised on 12 March 2020.