The figure shows the structure of a basic C++ program. A normal C++ program would contain four parts. The first line is an include statement. The second line is the main function and each C++ program must have the main function. The third line is a simple C++ statement.