home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / 1985 / sicherman.hint < prev   
Encoding:
Text File  |  1989-04-13  |  850 b   |  20 lines  |  [TEXT/MPS ]

  1. The worst abuse of the C preprocessor: <sunybcs!colonel> Col. G. L. Sicherman
  2.  
  3. This program abuses the C preprocessor so much that some /lib/cpp's fail to
  4. strip out all of the comments on the first pass!  If you were able to
  5. understand Decot's entry in 1984, you will have a head start on this
  6. one.
  7.  
  8. Be sure to run this program through lint!  If your lint works
  9. correctly, it should warn you that the argument `Manual' isn't used.
  10. Like the program says, what's that mean?
  11.  
  12. Run the program without arguments and enter the letters 'a' thru 'm'
  13. on a line.  Now enter the letters 'n' thru 'z'.  But to borrow a quote
  14. from Richard Stallman: If you think you understand what this code
  15. does, then you don't, so read it again!  Explain why:
  16.  
  17.     sicherman < sicherman.c | sicherman | diff - sicherman.c
  18.  
  19. results in diff reporting a difference on some machines.
  20.