Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C++ code > Generating C++ code > Generating C++ code > Modeling C++ code in Modeler > Specifying #include statements and forward declarations to files not modeled in the Model (C++ code)
  
Specifying #include statements and forward declarations to files not modeled in the Model (C++ code)
1. If you have not done so already, add the C++ Profile package to your Model. How?
2. From Modeler, select the Model, Package, Class, Data Type or Interface for which you want to include your own #include statements and forward declarations.
3. For the Model or a Package, apply the «C++ Package» stereotype.
For a Class, Data Type or Interface, apply the «C++ Class» stereotype.
For information about applying Stereotypes to an item, see Applying a stereotype to a model item.
4. Open the item's Property Pages, and then click the «C++ Package» or «C++ Class» tab as appropriate.
5. If you want to add #include statements and forward declarations to the generated header file, specify the text as the tagged value of the C++ Header Include tag definition.
6. If you want to add #include statements and forward declarations to the generated implementation file (does not apply to Interfaces), specify the text as the tagged value of the C++ Implementation Include tag definition.
7. If you want to add forward declarations, specify the text as the tagged value of the C++ Forward Declaration Text tag definition.
When you generate code for the item, the text you specified will be included in the appropriate file.