home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!navajo!shulick
- From: shulick@navajo.ucs.indiana.edu (Sam Hulick)
- Subject: Writing an auto-wrap routine
- Message-ID: <Brv1u5.95u@usenet.ucs.indiana.edu>
- Originator: shulick@navajo
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: navajo.ucs.indiana.edu
- Reply-To: shulick@navajo.ucs.indiana.edu
- Organization: Vallen Software
- Date: Thu, 23 Jul 1992 21:18:05 GMT
- Lines: 14
-
-
- I want to have a function that would work like this:
-
- void wprintf(char *string, int cols)
-
- Which would print 'string' using word-wrap, at 'cols' columns. What's the best
- way to go about this?
-
- REPLY VIA E-MAIL (shulick@indiana.edu).
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- --
- Sam Hulick /// E-mail: shulick@indiana.edu (including NeXT mail)
- ------------------------------------------------------------------------
- "The pen is the mouth and the paper is the soon-to-be-wise one."
-