www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/24/15:36:17

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" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Bill Henderson" <inconnu AT softhome DOT net>
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> <a5au5g$qph$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <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

> From: "Bill Henderson" <inconnu AT softhome DOT net>
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019