home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!portal!dfuller
- From: dfuller@portal.hq.videocart.com (Dave Fuller)
- Subject: Re: Could someone answer my question....thanks
- Message-ID: <C1Fq78.Mts@portal.hq.videocart.com>
- Organization: VideOcart Inc.
- X-Newsreader: Tin 1.1 PL3
- References: <1993Jan26.000105.10930@njitgw.njit.edu>
- Date: Tue, 26 Jan 1993 00:18:43 GMT
- Lines: 15
-
- I assume you want output to go to stdout since you use puts().
- I also assume you like the inserted \n that puts gives you.
-
- Making such assumptions, you just need to change
-
- puts("%d - %s",i,arg2[i]);
-
- to
-
- fprintf(stdout, "%d - %s\n", i, arg2[1]);
-
-
- Dave Fuller
- dfuller@portal.hq.videocart.com
-
-