escape character meaning ascii code value (decimal \a Ring \b backspace \f page break \n line-break \r Enter \t Horizontal tabulation \v Vertical Tabulation \\ backslash 092
\? question mark character 063
\ ' Single quote character 039
\ " Double quote character 034
\0 null character (NULL) 000
\ddd any character Three-bit octal
\xhh any character two hexadecimal
However, be aware that:
1,\v vertical tabs and \f page breaks have no effect on the screen, but affect the printer's response actions.
2,\ nthe actually should be called carriage return to change line. Line break is just a line, do not change the horizontal axis of the cursor, enter just back to the beginning, do not change the vertical axis of the cursor.
3,\ t cursor moves forward four or eight cells, you can set in the compiler
4,\ ' is used in the word character (that is, in single quotes). In the string (that is, double quotes ) is not required, just use ' can.
5,\? In fact, not necessary. Just use it . (Verified in Windows VC6 and tc2).
6, only lowercase letters can be used in escape characters, and each escape character can only be treated as one character.
"C + +" escape character Daquan