Build Your Project

In a typical development environment, some actions, such as changes to global header files, result in a complete rebuild. VisualAge C++ changes only what has been updated.

Usually, your first build will be the longest and every subsequent refresh will be shorter. Build time can be affected by the options you set, the number and complexity of your source files, and the type of linking you have chosen.

The first build is called the initial build. Every build after the initial build is an incremental build. The initial build for your sample will be very quick, because you have only one source file, and it is very small.

Click the Build button .

If there were no errors in your Helloworld program, you should see the build result displayed in the message field at the bottom of your screen:

Last Compile completed successfully on [date] in [time]

If you see this message, congratulations! You have successfully created, edited, and compiled your project. Click the Overview button on the Project tab again. The Declarations view in the upper left pane now shows the main function,

and the Source view below shows the source code for this object, with int main highlighted.

If your compilation was not successful, the IDE can make the process of correcting your errors simple and fast.