Hello, world! is often the first program that we write in a new programming language. It helps us to understand the most basic application syntax and is a good way to test our tool chain to make sure that we can compile and/or run a program.
HelloWorld.cpp
// // Simple first program. // #include <iostream> #include <string> using namespace std; int main(int argc, char **argv) { cout << "Hello, world!" << endl; return 0; }