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 > Generating C++ code > Opening .h and .cpp files from Modeler (C++ code)
  
Opening .h and .cpp files from Modeler (C++ code)
After generating .h and .cpp files for a Model, Package, Class, Data Type, Interface or Signal, you can open those files from Modeler.
To open a .h or .cpp file from Modeler
1. From Modeler, locate the Model, Package, Class, Data Type, Interface or Signal from which the code file was generated.
2. Right-click the item, point to Open C++ File, and then click Header or Implementation.
The file is opened in the application associated with the file's extension.