Save the file

Now save the main.cpp file by clicking FILE > SAVE or typing CTRL+S, and build your project by typing CTRL+B.

You can read through the build messages in the Console view. The project should build successfully, showing the following message:

Finished building target: HelloWorld.exe