home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8646 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.2 KB  |  41 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!menudo.uh.edu!Jane.UH.EDU!LIBH
  3. From: libh@Jane.UH.EDU
  4. Subject: Re: Sorting/Printing
  5. Message-ID: <1992Aug20.032951.5519@menudo.uh.edu>
  6. Sender: usenet@menudo.uh.edu (USENET News System)
  7. Nntp-Posting-Host: jane.uh.edu
  8. Reply-To: libh@Jane.UH.EDU
  9. Organization: University of Houston
  10. References: <1992Aug20.022202.2349@menudo.uh.edu>
  11. Date: Thu, 20 Aug 1992 03:29:51 GMT
  12. Lines: 27
  13.  
  14. In article <1992Aug20.022202.2349@menudo.uh.edu>, libh@Jane.UH.EDU writes:
  15. >  I am working on a project for a friend that requires me to sort a large file
  16. >of records (2000+ entries generally) that will change from month to month as he
  17. >gets updates so I can never be certain of the number of records.  I would
  18. >appreciate any suggestions on sorting the file.  Right now I am debating on how
  19. >to treat it as a large array on disk and sort it as if it were in memory, but I
  20. >also realize that it would be VERY slow.  Any suggestions would be greatly
  21. >appreciated.
  22. >  Also, can someone tell me how to send escape codes to the printer.  I haven't
  23. >had a reason until now but he wants the sorted file printed out in condensed
  24. >print.  How do I send the 'chr(27) + ??' (the basic version) to the printer.  I
  25. >tried sending the character 27 + value but it just gave me the ascii equivalent
  26. >letter rather than changing the printer setup.  Thanks alot in advance for any
  27. >help on either question....
  28. >
  29.   Sorry, I forgot to mention that I am writing the program in 'C'.
  30.  
  31. ********************************************************************************
  32. *                       | What do I see?                                       *
  33. *                       | I see time as it affects all things . . .            *
  34. *   John White          | Human flesh withers and dies before my eyes. .       *
  35. *                       | Flowers bloom only to fade . . .                     *
  36. *   Libh@Jetson.uh.edu  | Trees drop green leaves, never to regain them        *
  37. *                       | In my sight. . .it is always winter. . .always night *
  38. *                       |                                     -- Raistlin --   *
  39. ********************************************************************************
  40.  
  41.