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