next up previous
Next: C++ Keywords Up: Overview of C++ Previous: Example 3

Special Characters

Several special characters can be used in C++. In addition to the newline character , the following table 2.2 shows several others


 

 
Table 2.2: Special Characters
Character Purpose
$\backslash$ a Alert (bell) character
$\backslash$ b Backspace character
$\backslash$ f Form feed character
$\backslash$ n New line character
$\backslash$ r Carriage return (no-line feed)
$\backslash$ t Horizontal tab character
$\backslash$ v Vertical tab character
$\backslash\backslash$ Backslash character
$\backslash$ ? Question mark character
$\backslash$ ' Single quote character
$\backslash$ " Double quote character
$\backslash$ 0 Null character




Yousef Haik
2/23/1998