转义符 与 转义字符

通常的转移符为“”,可以由“”和“%”表示特殊字符。具体对应如下:

Argument                           Description                                     中译

                                     The escaped identifier                        “”转义标识符号的标志(开头)

                                        C语言中续航符(其后紧跟换行符enter,

                                      不许有任何东西);

                                 The newline character                        换行符

                                  The tab character                               制表符(8个字符位置)

\                                   The character                                    符号

"                                 The " character                                     符号 “

ddd                               A character specified by 1 to 3 octal digits     八进制数ddd 对应的ASCII字符

                          eg: 123              //8进制数123 对应的ASCII字符是大写的“S”

%%                               The % character                            符号 %

a                      The bell character                         响铃(BEL) ()

                      The Back Space character                   退格(BS)
f                      The new page character                 换页(FF)(Ctrl+Enter)
                    The newline character                            换行(LF) ()
                      The carriage return character                回车(CR) ()
                      The horizontal tab character                 水平制表(HT) ()
v                     The vertical tab character                      垂直制表(VT) ()

原文地址:https://www.cnblogs.com/miracleboy/p/4242097.html