별의 공부 블로그 🧑🏻‍💻
728x90
728x170

C++ Character Literals

 

Value

Escape sequence

newline

\n

horizontal tab

\t

vertical tab

\v

backspace

\b

carriage return

\r

form feed

\f

alert

\a

backslash

\\

question mark

? or \?

single quote

\'

double quote

\"

the null character

\0

octal

\ooo

hexadecimal

\xhhh

Unicode (UTF-8)

\uxxxx

Unicode (UTF-16)

\Uxxxxxxxx

  

Resource from : https://msdn.microsoft.com/en-us/library/6aw8xdf2.aspx

728x90
그리드형(광고전용)

'Programming > C++' 카테고리의 다른 글

[STL] sprintf  (0) 2017.10.21
[STL] getline  (0) 2017.10.20
[STL] ceil, floor, round  (0) 2017.09.23
[STL] sort  (0) 2017.09.22
인수와 레퍼런스  (0) 2017.05.30
함수 템플릿 (Function Template)  (0) 2017.05.29
함수 오버로드 (Function Overloading)  (0) 2017.05.25
기본 인수 (Default Argument)  (0) 2017.05.25
⚠️AdBlock이 감지되었습니다. 원할한 페이지 표시를 위해 AdBlock을 꺼주세요.⚠️
starrykss
starrykss
별의 공부 블로그 🧑🏻‍💻


📖 Contents 📖