Enter code

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.

You will notice an asterisk in front of the file name on the tab in the Editor view. The asterisk indicates that the file has changed but has not been saved.