Article View: comp.sys.ibm.pc
Article #26442Re: How about a `gprintf' for Turbo C
From: Frank Swarbrick
Date: Sat, 16 Apr 1988 21:21
Date: Sat, 16 Apr 1988 21:21
22 lines
1312 bytes
1312 bytes
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...
Technical Details
Message-ID:
<5443@sigi.Colorado.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ncar!boulder!tramp!swarbricReferences:
<686@leah.Albany.Edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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