'0x0a', '0x0d': "/N" & "/R"

Source: Internet
Author: User

Include <stdio. h>

Int main (INT argc, char * argv [])
{

/*************************************** *********************************/
/* Uncomment each comment */
/* Press enter to start from left */
/* Line feed: downward (Same Column )*/
/* For Windows. Dos, use 'Carriage return 'as the 'Carriage return new', but use it as the 'Carriage return new '*/
/* He is still 'Carriage return newline', rather than 'Carriage return newline '*/
/* So it is generally '/n/R', so there is no problem... */
/*************************************** *********************************/

/**
* 1. No '/R','/t', or '0x0a', '0x0d'
* The cursor moves three cells after Z, and on X
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B ");

/**
* 2. There is '0x0a'
* In Windows, press enter to start a line break.
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B % C", 0x0a );

/**
* 3. There is '0x0d'
* After Z, the cursor changes from three cells to '0x0d'. The cursor is on.
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B % C", 0x0d );

/**
* 4. '/N'
* In Windows, press enter to start a line break.
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B/N ");

/**
* 5. There are '/R'
* Cursor over
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B/R ");

/**
* 6. There is '0x0a' '0x0d'
*!!! In Windows, 'Carriage return 'is treated as 'Carriage return newline', but if you ask him to 'Carriage return newline', he will not change to 'Carriage return newline'
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B % C", 0x0a, 0x0d );

/**
* 7. There are '/N'/R'
*!!! In Windows, 'Carriage return 'is treated as 'Carriage return newline', but if you ask him to 'Carriage return newline', he will not change to 'Carriage return newline'
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B % C", 0x0a, 0x0d );

/**
* 8. '/r''/N'
* The function is the same for left-to-left and downward-to-left. printf ("abcdefghijklmnopqrstuvwxyz/B % C", 0x0d, 0x0a );
**/
// Printf ("abcdefghijklmnopqrstuvwxyz/B/R/N ");

Return 0;
}

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.