Article View: comp.lang.c.moderated
Article #1983Re: But DO C hackers code concisely?
From: Robert F. Monroe
Date: Thu, 15 Feb 1996 14:50
Date: Thu, 15 Feb 1996 14:50
18 lines
1563 bytes
1563 bytes
In article: <4fst4u$2f1@solutions.solon.com> Michael Smith <msmith@mpx.com.au> writes: > When you build a DLL using MS Visual C/C++, a number of > standard library functions are not permitted - including the printf > and scanf family. Thus, when developing Windows tools it is unwise > to rely on these functions - you might want to include the tools in > a DLL. > > Yes I do think that MS leaving these functions out is realy stupid, > but you have to work with the tools you have. What conceivable use could there be for either printf or scanf in a Windows DLL? The very nature of Windows I/O would cause them to only produce garbage. I can't think of any reason why they would be in a Windows library (with the exception of a 'QuickWin' type program, but that is a different story and printf and scanf are in those libraries). Bob.
Technical Details
Message-ID:
<4fvh88$e3l@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@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: 15 Feb 1996 08:50:48 -0600 Organization: Robert F. Monroe Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4fvh88$e3l@solutions.solon.com> References: <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@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: Wednesday, Feb 14, 1996 18.06.35 X-Newsreader: Newswin Alpha 0.7 X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!hever.demon.co.uk