Mail Archives: djgpp-workers/1996/10/07/02:29:38
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 -