Another pop-up window appears for you to choose a name for your
new new C++ (empty) source file. Note that the location is already
filled in for you with the project directory. The new file will be
created in this directory.
In the right pane (Templates) select .C++ File(.cpp)
In the Name textbox type a name for the new file. For example:
prog1.cpp