Hirdetés

Új hozzászólás Aktív témák

  • bwoay

    nagyúr

    válasz HoNeYBiRD #411 üzenetére

    szerintem a karakter csak egy sortörés volt.
    ha meg csak a betűkhöz nyúlsz, akkor nem mászhat el semmi elvileg.

    CR/LF
    "The line feed character is one of the characters in the ASCII character set that has been misused. Originaly, the LF character was ment to move the head of a printer one line down. A second control character CR would then be used to move the printing head to the left margin. This is the way it was implemented in many serial protocols and in operating systems like MS-DOS and Windows. On the other hand the C programming language and Unix operating system redefined this character as newline which ment a combination of line feed and carriage return. You can argue about which use is wrong. The way C and Unix handle it is certainly more natural from a programming point of view. On the other hand is the MS-DOS implementation closer to the original definition. It would have been better if both line feed and newline were part of the original ASCII definition because the first defines a typical device control functionality where the latter is a logical text separator. But this separation is not the case. Nowadays people tend to use the LF character mainly as newline function and most software that handles plain ASCII text files is capable of handling both single LF and CR/LF combinations. The control character is in the programming language C available as \n. "

    [ don't... don't believe... don't believe the hype ]

Új hozzászólás Aktív témák