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 > Overview of generating C code (C code) > Overview of modeling C code (C code) > Generating code comments (C code)
  
Generating code comments (C code)
ACS generates code comments.
Generating comments
ACS generates the text of an item's Description property as a comment that precedes the code generated for that item. Each line of the Description is generated as a separate comment.
For example, the Description property of Class1 is set to 'Description of Class1'. If you generate Class1, the header file contains the Description as a comment.
Modeler
Code
/*Description of Class1*/
class Class1
{
};