Save the makefile and main.cpp files by selecting them and typing CTRL+S, and then build your project by typing CTRL+B.
You can read through the build messages in the Console view, if there are any errors in the code you can review them in the Problems view.