Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!super.upenn.edu!eecae!nancy!umix!tardis!pepe!shane
From: shane@pepe.cc.umich.edu (Shane Looker)
Newsgroups: comp.sys.mac
Subject: Re: Lightspeed C question
Message-ID: <408@tardis.cc.umich.edu>
Date: 12 Dec 87 14:38:16 GMT
References: <13231@beta.UUCP>
Sender: usenet@tardis.cc.umich.edu
Reply-To: shane@pepe.cc.umich.edu (Shane Looker)
Organization: University of Michigan Computing Center, Ann Arbor
Lines: 22
Keywords: printf, stdio, quickdraw, grafport
In article <13231@beta.UUCP> wkp@beta.UUCP (Bill Peter) writes:
> [ Talking about LSC ]
>The most serious is that when I open up a grafport to
>use quickdraw routines, everything is fine. But then
>using printf() causes the mac to write onto a new
>screen (I assume stdio), and makes the program go nuts.
>Since I need to use printf() to output both text and
>floating point numbers, this is incovenient. I can't
>use DrawString to output floating point numbers (or can I?).
There is a file in the Info-Mac archives on SUMEX called
[SUMEX-AIM.Stanford.EDU]UTILITY-LSC-DEBUGGING.HQX
which creates a window for debugging purposes which takes calls in the
printf form. If you can't get to SUMEX, I can get the file to you
somehow.
Shane Looker | "He's dead Jim,
shane@pepe.cc.umich.edu | you grab his tricorder,
uunet!umix!pepe.cc.umich.edu!shane | I'll get his wallet."
Looker@um.cc.umich.edu