TAILIEUCHUNG - C Language Reference Manual_2

Một chuỗi đen thường xuyên bao gồm không hoặc nhiều ký tự được kèm theo trong dấu ngoặc kép, như trong "Xin chào, thế giới", và có thể bao gồm cả trình tự thoát đơn giản (chẳng hạn như \ t ký tự tab) và trình tự thoát ra hệ thập lục phân. | Chapter 2 Lexical structure Escape sequence Character name Unicode encoding Single quote 0x0027 Double quote 0x0022 Backslash 0X005C 0 Null 0x0000 a Alert 0x0007 b Backspace 0x0008 f Form feed 0x000C n New line 0x000A r Carriage return 0x000D t Horizontal tab 0x0009 v Vertical tab 0x000B String literals C supports two forms of string literals regular string literals and verbatim string literals. A regular string literal consists of zero or more characters enclosed in double quotes as in Hello world and may include both simple escape sequences such as t for the tab character and hexadecimal escape sequences. A verbatim string literal consists of an @ character followed by a double-quote character zero or more characters and a closing double-quote character. A simple examples is @ Hello world . In a verbatim string literal the characters between the delimiters are interpreted verbatim with the only exception being a quote escape sequence. In particular simple escape sequences and hexadecimal escape sequences are not processed in verbatim string literals. A verbatim string literal may span multiple lines. string-literal regular-string-literal verbatim-string-literal regular-string-literal regular-string-literal-charactersopt regular-string-literal-characters regular-string-literal-character regular-string-literal-characters regular-string-literal-character regular-string-literal-character single-regular-string-literal-character simple-escape-sequence hexadecimal-escape-sequence unicode-character-escape-sequence single-regular-string-literal-character Any character except U 0022 U 005C and white-space other than space U 0020 verbatim-string-literal @ verbatim -string-literal-charactersopt Copyright Microsoft Corporation 1999-2000. All Rights Reserved. 41 C LANGUAGE REFERENCE verbatim-string-literal-characters verbatim-string-literal-character verbatim-string-literal-characters verbatim-string-literal-character verbatim-string-literal-character .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.