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.
The code base of Hello World is:
#include <iostream> |
Here are some detailed examples of Hello World, depending on IDE and operating system:






'Hello World' using C++ Builder






'Hello World' using Qt Creator under Cygwin (under Windows)






'Hello World' using (a Windows version of) Qt Creator under Wine under Ubuntu






'Hello World' using Qt Creator under Ubuntu






'Hello World' using Qt Creator under Ubuntu for Android






'Hello World' using Qt Creator under Ubuntu for NDS






'Hello World' using Qt Creator under Ubuntu for Symbian






'Hello World' using a Windows version of Qt Creator under Wine under Ubuntu for Symbian






'Hello World' using Qt Creator under Windows
More demanding examples are:
Hello BigInt: tests if the BigInt
libraries are installed correctly
Hello Boost: tests if the Boost libraries are installed correctly
Hello C++0x: tests if C++0x can be used
Hello CLN: tests if the CLN libraries are installed correctly
Hello GMP: tests if the GMP libraries are installed correctly
Hello Qt: tests if the Qt libraries are installed correctly
Hello World (64-bit): compile for 64-bit systems
Hello Wt: tests if the Wt libraries are installed correctly
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.