Hello World - Writing, Compiling and Running a C++ Program. When you write a program, you use a development environment. Your development environment can be a basic text editor or a feature rich C++ integrated development environment (IDE).