Practical Electron Microscopy and Database

An Online Book, Second Edition by Dr. Yougui Liao (2006)

Practical Electron Microscopy and Database - An Online Book

Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

Character Escape Sequences

Certain characters, such as the single and double quotes, have special meaning in C++ and thus in DM. Therefore, they cannot be used directly. For these reason, C++ provides the character escape sequences shown in Table 1138.

Table 1138. character escape sequences.

Code
Meaning
\n newline
\t horizontal tab
\b backspace
\f form feed
\r carriage return
\" double quote
\' single quote character
\\ backslash
\v vertical tab
\a alert
\? ?
\N octal constant (where N is an octal constant)
\xN hexadecimal constant (where N is a hexadecimal constant)