Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Dirk Grunwald <grunwald@foobar.cs.colorado.edu>
Subject: Re: long long in Digital Unix
Date: 1997/08/18	[thread overview]
Message-ID: <qxp90y01102.fsf@foobar.cs.colorado.edu> (raw)
In-Reply-To: qxpvi152mva.fsf@foobar.cs.colorado.edu




The problem is that the program uses '%lld' to specify the printing of
a 'long long', or the scanning of a long long.

Someone suggested writing a converter that would check & convert the
strings on the fly. E.g,

	fprintf(stderr,CleanMeUp("i always say woof a%lld ay log"), my_data)

Another alternative is to use pre-processoror string concatenation.

Yet another was to link with the Gnu libc routines, which correctly handle this case.

-- 
Dirk Grunwald                 Assoc. Prof, Univ. of Colorado at Boulder



  parent reply	other threads:[~1997-08-18  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-17  4:00 long long in Digital Unix Dirk Grunwald
1997-08-17  4:00 ` Peter L. Montgomery
1997-08-17  4:00 ` Arun Sharma
1997-08-18  4:00 ` Dirk Grunwald [this message]
1997-08-20  4:00 ` John Hascall
     [not found]   ` <danpop.872269363@news.cern.ch>
1997-08-24  4:00     ` John Hascall
1997-08-21  4:00 ` Peter Quodling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox