Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!cornell!uw-beaver!mit-eddie!ll-xn!ames!hc!beta!wkp From: wkp@beta.UUCP (Bill Peter) Newsgroups: comp.sys.mac Subject: Lightspeed C question Keywords: printf, stdio, quickdraw, grafport Message-ID: <13231@beta.UUCP> Date: 10 Dec 87 16:50:01 GMT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 18 After just reading my newly-arrived Lightspeed C manual, and porting some programs onto the Mac, I noticed that the manual seems deficient in many respects. 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's functions like Init_Stdio in the compiler, but they aren't explained in the manual, and don't seem to help much. What to do? Buy the last 12 issues of MacTutor? Spend long-distance money calling up THINK ?