X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 24 Feb 2002 22:32:39 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Bill Henderson" Message-Id: <2950-Sun24Feb2002223238+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <003601c1bd50$1f59d9a0$088f6518@mtww.phub.net.cable.rogers.com> (inconnu AT softhome DOT net) Subject: Re: String Problems References: <006f01c1bd25$839675c0$088f6518 AT mtww DOT phub DOT net DOT cable DOT rogers DOT com> <003601c1bd50$1f59d9a0$088f6518 AT mtww DOT phub DOT net DOT cable DOT rogers DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Bill Henderson" > Date: Sun, 24 Feb 2002 11:27:14 -0500 > > But let me rephrase my question very simply: > > How do I put a percent (%) character into a file? Either fputs ("%", stream); or fprintf (stream, "%s", "%"); or fprintf (stream "%%"); Pick your choice.