Escape characters in the C languagein a character set, there is a class of characters that can be displayed on the display when the character is entered from the keyboard, that is, what is displayed when the input is entered. Such characters are
C escape characters in the languageIn a character set, there is a class of characters that can be displayed on the display when the character is entered from the keyboard, that is, what is displayed when the input is entered. Such characters are
Escape characters in C Language
Introduction
A character set has the following characteristics: When you enter this character on the keyboard, the display displays this character, that is, what you enter. These characters are calledPrintable
American Standard Information Interchange Standard Code
(American Standard Code for information interchange, ASCII)
In a computer, all data is stored and computed in binary representation (because the computer is silly, only the binary values of
Read a lot of Chinese blog posts, most of the article is about the use of echo color, I really do not love to die, trace back, really look at the escape sequence is what?Escape characters, children who have studied C are aware that some control
ASCII (American Standard Code for information interchange) is a computer coding system based on Latin letters. It is mainly used to display modern English and other Western European languages. It is the most common single-byte encoding system today
Escape Character Table and escape table
Some Characters in the ASCII table cannot be printed. How do I express these unprintable characters?
C provides three representation methods.
I. use ASCII codes directly
2. Use a special symbolic sequence,
In the character set, one type of character has this feature: When this character is entered from the keyboard, the character can be displayed on the display, that is, what the input displays. This type of character is known as a display character,
Escape Character \· A special character constant;· Starts with a backslash "\", followed by one or several characters.· It has a specific meaning. It is called "escape" because it is different from the original meaning of the character.· It is
C # escape characters
· A special character constant;
· Starts with a backslash "\", followed by one or several characters.
· It has a specific meaning. It is called "escape" because it is different from the original meaning of the character. · It
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.