RAD Studio
ContentsIndex
PreviousUpNext
TRIGRAPH

Trigraphs are three-character sequences that replace certain characters used in the C language that are not available on some keyboards. Translating trigraphs in the compiler would slow compilation down considerably, so CodeGear C++ provides a filter named TRIGRAPH.EXE to handle trigraph sequences.

trigraph [-u] <filename> [...]

TRIGRAPH has three command options:

  • -nXXX writes output files to the directory named in XXX.
  • -u means to Undo insert trigraphs.
  • -xXXX creates output files with the extension XXX.
 

The following table shows the trigraph sequences the TRIGRAPH recognizes:

The following table shows the trigraph sequences the TRIGRAPH recognizes:

Trigraph 
Character 
??=  
#  
??(  
[  
??)  
]  
??/  
\  
??'  
^  
??<  
{  
??>  
}  
??-  
~  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!