Enter the code in the main.cpp file that was just created. You can double click the main.cpp tab in the Editor view to expand the view.
Note: Leave a blank line at the end of the code, some compilers require one.