Adding a Generic C++ Class

You can add a generic C++ class by using Class View. A generic C++ class is a class that you define or that is derived from a class that you define.

To add a generic C++ class to a project

  1. In Class View, right-click the project to which you want to add the new class, click Add, and then click Class.

  2. In the Add Class dialog box, in the templates pane, click C++ Class. Click Add to display the Generic C++ Class Wizard.

  3. In the wizard, provide a class name, and then define settings or accept the defaults.

  4. To close the wizard and view the new generic C++ class in the project, click Finish.

See Also

Adding a Class
MFC Class
ATL Simple Object