Xref: utzoo comp.sys.ibm.pc:14539 comp.lang.c:9421 Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ncar!boulder!tramp!swarbric From: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: How about a `gprintf' for Turbo C Message-ID: <5443@sigi.Colorado.EDU> Date: 16 Apr 88 21:21:04 GMT References: <686@leah.Albany.Edu> Sender: news@sigi.Colorado.EDU Reply-To: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Organization: University of Colorado, Boulder Lines: 22 Keywords: graphics output, Turbo, text, buh, duh In article <686@leah.Albany.Edu> rds95@leah.Albany.Edu (Robert Seals) writes: >The new console functions in version 1.5 of turbo c are really swell >and everything, (swollen too, if you check the size of the executable) >but they aren't much good if you want to write on the graphics screen. >Your only choice is `outtext{xy}', whose argument must be a string. > >Has anybody got any great ideas about how to formatted text output >on the graphics screen, i.e., `gprintf(format, arg, ..., arg)' ??? Try... { char str[80]; sprintf(str,"Here is %d line",1); outtextxy(1,1,(char far *)str); } Frank Swarbrick (and his cat) swarbric@tramp.UUCP swarbric@tramp.Colorado.EDU ...!{ncar|nbires}!boulder!tramp!swarbric Mal and N*va are dead...