## New C++ Class Wizard

The New C++ Class wizard allows a developer to add a new C++ class to existing or new header and source files. This wizard is supplied by the C/C++ Development Toolkit (CDT), and is not customised for Symbian development. However, as it is not currently described in the C/C++ Development Toolkit User Guide, you may find this extra information about it useful.

See Adding a Symbian Class for information on adding Symbian-based classes to a project.

To invoke the wizard, click File > New > Class from the menu bar. The New C++ Class window appears.

Name | Function
--- | ---
Source Folder | Specifies the source folder where the header and source files are to be created.
Namespace | Select the checkbox to specify whether you want to add the new class under a namespace or not. If yes, click Browse to select an existing namespace or type a new namespace.
Class Name | Specifies the name of new C++ class.
Base Classes | Lists all the base types from which the new C++ class is derived.
Method Stubs | Specifies whether to generate stubs for constructor and destructors of the class.
Use Default | Specifies whether the class declaration and definition are added to default header and source files or not.
Header | Specifies the header file which contains the class declaration.
Source | Specifies the source file which contains the class definition.
Use Default | Disable to select different Header and Source files to use as the template for the new class.

##### Related tasks

- Adding Classes
- Adding Symbian Classes