🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2048

Re: But DO C hackers code concisely?

#2048
From: Robert F. Monroe
Date: Sat, 17 Feb 1996 17:57
20 lines
1671 bytes
In article: <4g27tf$qf6@solutions.solon.com>  makholm@diku.dk (Henning Makholm) writes:
> 
> "Robert F. Monroe" <Robert@hever.demon.co.uk> writes:
> 
> >What conceivable use could there be for either printf or scanf in a 
> >Windows DLL?
> 
> The sprintf and sscanf variations do come in handy even when the I/O
> capabilities doesn't match the expectations of stdio.h - so does
> fprintf and fscanf in Windows - there is no 'terminal' concept but
> there *are* disk files.

sprintf and sscanf CAN be used in a DLL. The message that I was commenting 
on indicated that Microsoft was "stupid" for not allowing printf and scanf
in DLLs. Again, there would be no use for printf and scanf in a DLL so I don't
consider it particularly stupid to make them unavailable. As you say, there
could be all sorts of uses for sprintf and sscanf, but they are not the same 
as printf and scanf.

	Bob.
Technical Details
Message-ID: <4g54u4$anj@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@solutions.solon.com> <4fvh88$e3l@solutions.solon.com> <4g27tf$qf6@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: "Robert F. Monroe" <Robert@hever.demon.co.uk>
Newsgroups: comp.lang.c.moderated
Subject: Re: But DO C hackers code concisely?
Date: 17 Feb 1996 11:57:24 -0600
Organization: Robert F. Monroe
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4g54u4$anj@solutions.solon.com>
References: <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@solutions.solon.com> <4fvh88$e3l@solutions.solon.com> <4g27tf$qf6@solutions.solon.com>
Reply-To: Robert@hever.demon.co.uk
NNTP-Posting-Host: solutions.solon.com
X-NNTP-Posting-Host: hever.demon.co.uk
X-Broken-Date: Friday, Feb 16, 1996 18.28.00
X-Newsreader: Newswin Alpha 0.7
X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!hever.demon.co.uk