Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site callan.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!trwrb!scgvaxd!wlbr!callan!tim From: tim@callan.UUCP (Tim Smith) Newsgroups: net.micro.mac Subject: printf in MegaMax C Message-ID: <1089@callan.UUCP> Date: Mon, 26-Aug-85 21:15:30 EDT Article-I.D.: callan.1089 Posted: Mon Aug 26 21:15:30 1985 Date-Received: Sat, 31-Aug-85 04:57:32 EDT Distribution: net Organization: Callan Data Systems, Westlake Village, CA Lines: 23 Printf in version 2.1 of MegaMax C line buffers output. This can cause problems if you use printf to initialize quickdraw, for example: main() { printf( " " ); MoveTo( 0,0 ); LineTo(10,10); } will crash the system, while main() { printf( "\n" ); MoveTo( 0,0 ); LineTo(10,10); } will draw a line from 0,0 to 10,10 in the stdout window. -- Tim Smith ihnp4!{cithep,wlbr!callan}!tim