Click the Stubcode icon in the toolbar. The Stubcode Generation Wizard appears.
In the Prefix field, specify a string that will be prepended to certain class names in the generated code. This string may be used to avoid name clashes with existing classes.
In the Language drop-down menu, select C++ as your programming language.
Stubcode Generation Window
In the Project Type field, select Stubcode and Server Example. This option generates a sample server along with the basic stubcode.