INFO: String Constants May Be Interpreted as Trigraphs in C (67082)
The information in this article applies to:
- Microsoft C for MS-DOS
- Microsoft C for OS/2
- Microsoft Visual C++ 1.0
- Microsoft Visual C++ 1.5
- Microsoft Visual C++ 2.0
- Microsoft Visual C++ 4.0
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q67082 SUMMARY
To maintain compatibility with other systems, a series of ANSI- mandated
trigraphs have been implemented beginning with Microsoft C version 6.0 and
Microsoft QuickC version 2.5. The addition of these trigraphs may require
that changes be made to code that was previously written for other versions
of C that do not support these codes. The sample code below illustrates one
such instance where this is necessary. The trigraphs are listed on page 424
of the Microsoft C "Advanced Programming Techniques" version 6.0 manual.
Modification Type: | Minor | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbinfo kbLangC KB67082 |
---|
|