# Creating a C/C++ file

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.

## Editing a C/C++ file

Files are edited in the Remote C/C++ editor. By default, the editor is located to the right of the Project Explorer view.

The marker bar on the left margin of the Remote C/C++ editor, displays icons for errors, warnings, bookmarks, breakpoints and tasks.

For more information on the marker bar, see Workbench User Guide > Reference > User interface information > Views and editors > Editor area.

Related reference
Remote C/C++ Editor