Source Program Character Set

The following lists the basic character set that must be available at both compile and run time:

The # (number sign) character is used for preprocessing only, and the _ (underscore) is treated as a normal letter.

The Universal-Character-Name
The universal character name provides an alternative way to display non-ASCII characters, such as multibyte characters. This new feature was recently added to the December 1996 ISO/ANSI Draft for C++.

Syntax

\uhhhh or \Uhhhhhhhh where h is a hexadecimal number.

Valid Operators and Punctuators

The following operators and punctuators are valid for C only.

Operators and Punctuators
{ } [ ] # ## ( ) ->
<: :> <% %> %: %:%: ; : ...
|| ++ ? -- . , + - *
/ % ^ & | ~ ! = >
> += -= *= /= %= ^= &= |=
<< >> >>= <<= == != <= >= &&

The following operators and punctuators are valid for C++ only.

Operators and Punctuators
{ } [ ] # ## ( )  
<: :> <% %> %: %:%: ; : ...
new delete ? :: . .* + - *
/ % ^ & | ~ ! = >
> += -= *= /= %= ^= &= |=
<< >> >>= <<= == != <= >= &&
|| ++ -- , ->* -> and and_eq bitand
bitor compl not not_eq or or_eq xor xor_eq  



Digraph, Trigraph, and Escape Sequences