adsense


Wednesday, 18 November 2015

C++ LANGUAGE TRIGRAPHS PAGE 08

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button



C++ LANGUAGE TRIGRAPHS





Trigraphs 


A few characters have an alternative representation, 
called a trigraph sequence. A trigraph is a three-character 
sequence that represents a single character and the sequence 
always starts with two question marks. 

Trigraphs are expanded anywhere they appear, including within 
string literals and character literals, in comments, and 
in preprocessor directives. 

Following are most frequently used trigraph sequences: 


Trigraph 	Replacement  

??= 	         # 
??/ 	         \ 
??' 	         ^ 
??( 	         [ 
??) 	         ] 
??! 	         | 
??< 	         { 
??> 	         } 
??- 	         ~ 

All the compilers do not support trigraphs and they are not 
advised to be used because of their confusing nature. 

No comments: