home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!yaps!arno
- From: arno@yaps.rhein.de (Arno Eigenwillig)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Something goofy with fscanf(%s) ??
- Message-ID: <MhW-x*ayf@yaps.rhein.de>
- Date: Sun, 28 Jan 1996 20:58:24 +0100
- References: <4ee66r$ffk@vixen.cso.uiuc.edu>
- Organization: Yet Another Private Site in Meckenheim, Germany
- X-Copyright: This article may not be distributed on a CD-ROM
- or in printed form without prior written consent of the author.
- X-Newsreader: Arn V 1.04
-
- In article <4ee66r$ffk@vixen.cso.uiuc.edu>,
- I-am-unwilling-to-configure-my-newsreader writes:
-
- > Now what this says to me that when fscanf() hits the %22 in the string
- > it's somehow interpreted funny and thus the second line is read back in as
- > in the second line.
-
- fscanf() having problems with % would be rather strange. But how do
- you do your output? Make sure you don't pass arbitrary strings as 2nd
- argument to fprintf()...
-
- -- __
- __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
- \XX/ V+49-2225-5870 /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
-