Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,409 of 243,242    |
|    Michael Sanders to James Kuyper    |
|    Re: is_binary_file()    |
|    10 Dec 25 18:45:39    |
      From: porkchop@invalid.foo              On Wed, 10 Dec 2025 12:46:36 -0500, James Kuyper wrote:              > I would recommend against use of explicit numerical codes for       > characters. They make your code dependent upon a particular encoding,       > and you're free to make that choice, but for implementations where that       > encoding is the default, the corresponding C escape sequences will have       > precisely the the correct value, and make it easier to understand what       > your code is doing:       >       > 0x00 '\0'       > 0x09 '\t'       > 0x0A '\n'       > 0x0D '\r'       > 0x20 ' '              Aye, moving towards that (eventually).              Thanks for your comments James.              --       :wq       Mike Sanders              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca