To add a class in a Visual C++ project, in Solution Explorer, right-click the ... To generate a new class, select a template in the middle pane, type a name for the ...
msdn.microsoft.com