Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!milton!uw-beaver!uw-june!chou From: chou@cs.washington.edu (Pai Chou) Newsgroups: comp.sys.mac.programmer Subject: Re: Drawstring Question Message-ID: <13925@june.cs.washington.edu> Date: 30 Nov 90 22:42:02 GMT References: <1990Nov30.202807.6139@verity.com> Reply-To: chou@june.cs.washington.edu (Pai Chou) Organization: University of Washington, Computer Science, Seattle Lines: 13 In article <1990Nov30.202807.6139@verity.com> anders@verity.com (Anders Wallgren) writes: >In article , rg2c+@andrew (Robert Nelson Gasch) writes: >>Now there is a new problem: >>Since I am using a drawing Window as my output medium, I can not use >>the standard output functions (printf). I want to display the values of > >How about: > >fprintf(some_buffer, "%f", some_float); >drawstring(some_buffer); It should be sprintf, not fprintf. sprintf "prints" to a char array.