# Creating your C++ file

Once you have created a new remote C/C++ project, you can begin coding your program. The .cpp file that you create will be saved in the project folder you just created in Creating a remote project.

Files are edited in the Remote C/C++ Editor located to the right of the Project Explorer view. The left margin of the Remote C/C++ Editor, called the marker bar, displays icons for items such as bookmarks, breakpoints, and compiler errors and warnings.

For more information about:

- The marker bar, see Workbench User Guide > Reference > User interface information > Icons and buttons > Editor area marker bar
- The editor area, see Workbench User Guide > Reference > User interface information > Views and editors > Editor area

To create a C++ file:

1. In the Project Explorer view, right-click a project, and select New > File > Other.
2. Select Source file under C++.
3. In the Source File box, type a name followed by the appropriate extension. Select a template.
4. Click Finish.

The file will open in the Remote C/C++ editor.

5. Enter your code in the editor view.
6. Type CTRL+S to save the file.

Your new .cpp file is displayed in the Project Explorer view. Before you can build your newly created project, you must create a makefile. See Creating your makefile.

Related tasks
Creating a C/C++ file
Related reference
Editor View