본문 바로가기
Programming/C++

Escape Sequence

by 혀코 2009. 4. 10.

Escape sequence

\n  -  Newline. Position the screen cursor to the beginning of the next line.
\t  -  Horizontal tab. Move the screen cursor to the next tab stop.
\r  -  Carriage return. Position the screen cursor to the beginning of the current line; do not advance to the
         next line.
\a  -  Alert. Sound the system bell.
\\  -  Backslash. Used to print a backslash character.
\'  -  Single quote. Used to print a sigle-quote character.
\"  -  Double quote. Used to print a double-quote character.

댓글