🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: But DO C hackers code concisely?

#2033
From: Henning Makholm
Date: Fri, 16 Feb 1996 15:29
18 lines
1270 bytes
"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.

BTW Windows supplies sprintf as a system call - for messy and
long-gone technical reasons - but a compiler that doesn't offer
fprintf (and other isk file oriented stdio.h functions) to DLL code
IMHO disqualifies itself...

-- 
Henning Makholm - math and CS student - University of Copenhagen
makholm@diku.dk - http://www.diku.dk/students/makholm - fido 2:235/224.92
Technical Details
Message-ID: <4g27tf$qf6@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>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: makholm@diku.dk (Henning Makholm)
Newsgroups: comp.lang.c.moderated
Subject: Re: But DO C hackers code concisely?
Date: 16 Feb 1996 09:29:51 -0600
Organization: Department of Computer Science, U of Copenhagen
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4g27tf$qf6@solutions.solon.com>
References: <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@solutions.solon.com>
 <4fvh88$e3l@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com