Compile and interpret execution and escape characters

Source: Internet
Author: User


Compile execution (for example in C language)

After writing a. c file and compiling it using the compiler, the compilation process does not execute the program but translates all the source code into machine instructions, plus some descriptive information to generate a new file such as A.out to execute the file. The executable file can be run by the operating system load, and the computer executes the instructions generated by the compiler in the file.




Interpreting execution
Interpret each line of code as a command without needing to execute it as an executable file containing machine instructions.

That is, the interpretation of a sentence after the submission of a computer to execute a sentence, does not form the target program.

The process is similar to "interpreting", saying one sentence and not producing a full text translation.




Escape character
\ '----------------> Single quotes '
\ "----------------> Double quotes"
\?---------------> Question mark?
\ \----------------> back slash \
\a---------------> Bells (Alert or Bell)
\b---------------> Backspace (Backspace)
\f----------------> Page breaks (Form Feed)
\ r----------------> return (carriage return)
\ n---------------> line feed
\ t----------------> Horizontal tab (Horizontal tab)
\v---------------> Vertical tab (Vertical tab)

Compile and interpret execution and escape characters

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.