delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/07/02:29:38

Date: Mon, 7 Oct 1996 08:25:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: DJVERIFY 0.1a uploaded
In-Reply-To: <325823E1.3B89@cs.com>
Message-Id: <Pine.SUN.3.91.961007082324.2485Q-100000@is>
Mime-Version: 1.0

On Sun, 6 Oct 1996, John M. Aldrich wrote:

> without having to depend on having ANSI.SYS loaded, but I also am unable
> to find a conio equivalent of vprintf(), which is needed by the output
> functions to split messages between the screen and the report file. 
> (This is how I implemented a print echo library for my C classes in
> school.)  If I do need the conio functions to get the text attributes,
> would it be possible for somebody to contribute a 'vcprintf()'
> function?  Thanks!

I think you don't need that contribution.  Use `vsprintf' to create a
string with the text you want to print and then print with `cputs' to the
screen and with `fputs' to a file.

- Raw text -


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