X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2023-05.git/blobdiff_plain/a57c60b156a355e45b44619518627fe280ebdce2..939049115b3f1eaf18c1ecf67c7340b83822ea89:/src/notes.tm diff --git a/src/notes.tm b/src/notes.tm index 67728a6..884ee8c 100644 --- a/src/notes.tm +++ b/src/notes.tm @@ -3,6 +3,14 @@ > <\body> + <\hide-preamble> + \; + + + >||0>>|list*|list>|>>>|>>>>|> + > + + @@ -30,7 +38,7 @@ used to represent hard-to-type or invisible characters. Some commonly used escape sequences in include: - <\description-paragraphs> + <\description-aligned> >Represents the character. >Represents the character. @@ -39,11 +47,11 @@ >Represents the (i.e. \P>\Q) character. - + All other escape sequences used in are: - <\description-paragraphs> + <\description-aligned> >Represents the (bell) character. >Represents the character. @@ -69,7 +77,7 @@ >Represents a number (e.g. is the character>). - + The process of freeing memory allocated by a program but which is no longer referenced. @@ -137,7 +145,15 @@ <\description> - >Read one character at a time. + >Read one character at a time + from the input buffer. Returns as a .<\footnote> + characters have constants in the range . UTF-8 + characters return multiple constants (e.g. \<#B0\> returns ). See . + A strategy for reading the multiple bytes of a UTF-8 character is here: + . + >A generalization of . Takes three arguments: @@ -157,6 +173,23 @@ character (e.g. ) at a time. >Used for printing formatted text to console. + + Character codes include: + + <\description-aligned> + >Used with (i.e. 16-bit integers; max value of + =32\767>). + + >Used with (i.e. at least 32-bit + integers).<\footnote> + K&R 2nd Ed., Sec. 1.5 \PThe conversion specification tells + that the corresponding argument is a + integer.\Q + + + >Used with and (double + precision ). + \; @@ -178,10 +211,13 @@ > > > + > > - > + > + > > - > + > + > > > > @@ -190,8 +226,7 @@ |?>> |?>> - > - > + |prog-language||font-family||\\x>|hh>|?>> > heap|?>> stack|?>> struct|?>> > - >