Escape Sequence Represents

By | 2005/10/21

/*
 Escape Sequence  Represents

\a

Bell (alert)

\b

Backspace

\f

Formfeed

\n

New line

\r

Carriage return

\t

Horizontal tab

\v

Vertical tab

\’

Single quotation mark

\ "

Double quotation mark

\\

Backslash

\?

Literal question mark

\ ooo

ASCII character in octal notation

\x hh

ASCII character in hexadecimal notation

\x hhhh

Unicodecharacter in hexadecimal notation if this escape sequence is used in awide-character constant or a Unicode string literal.

For example, WCHAR f = L'\x4e00' or WCHAR b[] = L"The Chinese character for one is \x4e00"

*/

 

출처 – MSDN

One thought on “Escape Sequence Represents

  1. NoSyu

    예전에 진행률을 나타나는 함수를 만들기 위해 기록해 두었던 글이다.

    Reply

Leave a Reply