🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3880

Re: Why "long long" doesn't work.

#3880
From: Peter Seebach
Date: Mon, 28 Aug 1995 12:11
21 lines
1500 bytes
In article <41ondq$kn9@caip.rutgers.edu>,  <halasz@caip.rutgers.edu> wrote:
>It by nou is probablie too late, but this is the big problem with uzing
>string for format.  If a format were a type of its own, and parsd
>(as in Algol 68), the compiler coud match format element and valu or
>variable, and it certainlie would be known what converzions a program
>seeks.  This would make "printf" much nimbler, for one coud be sure
>that onlie the needed is linkd into the runfile (when that indeed is
>the case, not shared librarie), and the types would be matchd.

But this would break one of the best features of printf - you can change
the format strings at runtime.

If you don't see the utility of this, you don't write many utilities.
Most of my output programs take format strings as options.

-s
-- 
Peter Seebach - seebs@solon.com || seebs@intran.xerox.com --
C/Unix proto-wizard -- C/Unix questions? Send mail for help.  No, really!
Copyright 1995 Peter Seebach.  Like my work?  Send donations!
The *other* C FAQ - ftp taniemarie.solon.com /pub/c/afq
Technical Details
Message-ID: <41sbpb$11a@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <41fdv8$ici@milo.mcs.anl.gov> <41g85d$kc@newsbf02.news.aol.com> <41ondq$kn9@caip.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: seebs@solutions.solon.com (Peter Seebach)
Newsgroups: comp.std.c
Subject: Re: Why "long long" doesn't work.
Date: 28 Aug 1995 07:11:23 -0500
Organization: Usenet Fact Police (Undercover)
Message-ID: <41sbpb$11a@solutions.solon.com>
References: <41fdv8$ici@milo.mcs.anl.gov> <41g85d$kc@newsbf02.news.aol.com> <41ondq$kn9@caip.rutgers.edu>
NNTP-Posting-Host: solutions.solon.com