🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: But DO C hackers code concisely?

#2096
From: Maurice S. Barnum
Date: Tue, 27 Feb 1996 04:20
34 lines
2087 bytes
jyacc!marks!jtrigg@uunet.uu.net (Jim Trigg) writes:

>Item 1 is the critical part.  In MSVC 1.5x and earlier (and therefore
>in any Win16 DLL), the ...printf/...scanf family is not available.
>Console applications don't even exist in Win16 (AKA Win 3.1x).  Yes,
>Win32 is less brain dead than Win16 was, but most people still only
>know Win16.  (I happen to know both due to my current job.)

    ugh.  as you pointed out before making your point at the end,
    this is NOT operating system specific, but compiler specific.

    for example, the Windows compiler that I use supports
    sscanf() perfectly fine in a DLL (anything less is not
    only uncivilized, but ridiculous).  sprintf() works too.
    using the wsprintf() version is not the same because it
    doesn't have the same capabilities as what the
    Standard functions do (no floating point conversions).

    heck, I can use the other printf/scanf family members in a
    Windows 16 bit application, but not in a DLL.   "hello world"
    works just fine.

    ANYWAY, i just wanted to point out that not only has this 
    discussion strayed FAR from the normal clcm scope, but that
    it was based upon a statement that is either 1) erroneous, or
    2) is specific to one compiler vendor's ridiculous C implmentation.
    I don't believe the second option, but i don't have any sort
    of counter-proof.

[It has rather strayed.  I'll probably start squelching discussion on this
 RSN. -mod]

 --xmsb
 xmsb@borland.com
Technical Details
Message-ID: <4gu0r2$eom@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4gfb10$21p@solutions.solon.com> <4g27tf$qf6@solutions.solon.com> <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@solutions.solon.com> <4gj1q6$m3p@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: xmsb@shadow.borland.com (Maurice S. Barnum)
Newsgroups: comp.lang.c.moderated
Subject: Re: But DO C hackers code concisely?
Date: 26 Feb 1996 22:20:50 -0600
Organization: Borland Intl
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4gu0r2$eom@solutions.solon.com>
References: <4gfb10$21p@solutions.solon.com> <4g27tf$qf6@solutions.solon.com>  <4fa7e7$2pu@solutions.solon.com> <4fst4u$2f1@solutions.solon.com> <4gj1q6$m3p@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com