Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Hello World (or 'The Hello World program') is a standard example program to see if your programming environment works. Note that this example code is not standarized, so multiple and similar variants are on the Internet. A more demanding example is Hello Boost, which also tests if the Boost libraries are installed correctly.
The (C++) code of Hello World is as follows:
#include <iostream> |
In C++ Builder, when the program is run, a window pops up and immediatly disappears. This is okay (because the program runs). If you want the program to wait for a key press, change the code to the following:
#include <iostream> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.