home bbs files messages ]

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 241,905 of 243,242   
   Michael Sanders to All   
   Re: Usage/Help Screen Conventions   
   12 Nov 25 04:53:49   
   
   From: porkchop@invalid.foo   
      
   On Wed, 12 Nov 2025 03:45:10 -0000 (UTC), Lawrence D’Oliveiro wrote:   
      
   > Why is it a better idea to write up proper documentation separately?   
   >   
   > Because a common format like a man page can be easily repurposed, e.g. to   
   > generate a nicely-typeset PDF file. Bit tricky to do that with comments or   
   > messages embedded in your code.   
      
   txt? pdf? html? man? doc? Its all good & embedding means   
   its *always* with you program:   
      
   static unsigned char help[] = {   
   0x68, 0x65, 0x6C, 0x70, 0x3A,   
   0x0A, 0x0A, 0x78, 0x0A, 0x79,   
   0x0A, 0x78, 0x0A, 0x00   
   };   
      
   printf("%s\n", help)   
      
   --   
   :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