Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Patched up 1st example to better illustrate trigraph disabling

...

All occurrences in a source file of the following sequences of three characters (that is, trigraph sequences) are replaced with the corresponding single character.

??=

#

 

??)

]

 

??!

|

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6c774036934fd3d7-30389aa3-4d704415-a58cb088-e641c0653e42d64a05f7013d"><ac:plain-text-body><![CDATA[

??(

[

 

??'

^

 

??>

}

]]></ac:plain-text-body></ac:structured-macro>

??/

\

 

??<

{

 

??-

~

...

The following compliant solution eliminates the accidental introduction of the trigraph .by separating the ?'s

Code Block
bgColorccccff
// what is the value of a now? ?/
a++;

Non-Compliant Code Example

...