New C/C++ Source/Header File Dialog
To access the Create New C/C++Source/Header FIle dialog, right click a file or folder in the project view. In the context menu, choose:
or or , as desired.
In this field, type the name of a new class or source/header file.
Select the desired file type from the drop-down list, if you need the type, other than default. For more details on the file type definition, refer to the Code Style C/C++ Help page.
Add to targets
Select this checkbox to add the created files to the source files list for the selected target(s).
In this pane, select the desired target or multiple targets to which the created files shall be included.
In this pane, see the
Click this icon to open the Code Style dialog.
New C++ Class
Create header file only
Select this checkbox, if you want to create a header file only for a new class.
New C/C++ Source File
Create an associated header
Select this checkbox, if you want to created a header associated, with the new source file.