keyboard - Is CTRL+M the same as Enter? -


so, i've gotten whitespace programming, , 1 of characters listed [lf]. not knowing was(yes, yes, yell @ me want being idiot), looked , found on wikipedia typed using ctrl+m(aka ^m). so, used while, when went , took @ article, said lf known crlf, "carriage return line feed", if remember correctly. mean enter, technically "carriage return" works newlines? sorry if stupid question :t

carriage return (ascii code 13) , line feed (ascii code 10) 2 separate characters. @elisadoff said, windows systems use crlf combo signal end of line, while *nix systems use lf.

for programming in whitespace, every interpreter have used runs on windows (including online ones i've checked) seems ignore carriage return character, can safely use enter key type lf whitespace.

the main difference find in using lf instead of crlf if opened such text file on windows (say, in notepad), entire contents may on single line, since windows expecting cr. programs (notepad++, example) consider though , display things either line ending.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -