C++ examples for Language Basics:Hello World
Your first C++ program.
#include <iostream> using namespace std; int main()/*from w w w . jav a 2s. c om*/ { cout << "Hello there world!"; return 0; }