分类: C/C++
2010-03-30 14:37:08
A trigraph sequence found in the source code is converted to its respective translation character. This allows people to enter certain characters that are not allowed under some (rare) platforms.
Trigraph Sequence | Translation Character |
??= | # |
??( | [ |
??/ | \ |
??) | ] |
??' | ^ |
??< | { |
??! | | |
??> | } |
??- | ~ |
printf("No???/n");
translates into:printf("No?\n");