🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5975

SAS 5.10 printf

#5975
From: Peter Dufault
Date: Sat, 20 Oct 1990 05:25
22 lines
840 bytes
  I have a problem with using printf() in SAS 5.10.
For example, the following code:

#include <stdio.h>

double test;

main()
{
        test=1.6;
        printf(" %g \n",test);
}

will simply print "%g" on the screen. Printing integers using %d works
perfectly fine, however. Anyone else had this problem? Anyone willing to test
it?


UUCP: {amdahl!bungia, uunet!rosevax, crash}!orbit!pnet51!igor
ARPA: crash!orbit!pnet51!igor@nosc.mil
INET: igor@pnet51.orb.mn.org
Technical Details
Message-ID: <3347@orbit.cts.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!uc!cs.umn.edu!sialis!orbit!pnet51!igor

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!uc!cs.umn.edu!sialis!orbit!pnet51!igor
From: igor@pnet51.orb.mn.org (Peter Dufault)
Newsgroups: comp.sys.amiga.tech
Subject: SAS 5.10 printf
Message-ID: <3347@orbit.cts.com>
Date: 20 Oct 90 05:25:02 GMT
Sender: news@orbit.cts.com
Organization: People-Net [pnet51], Minneapolis, MN.
Lines: 22