How about a `gprintf' for Turbo C
Frank Swarbrick
swarbric at tramp.Colorado.EDU
Sun Apr 17 07:21:04 AEST 1988
In article <686 at leah.Albany.Edu> rds95 at 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 at tramp.UUCP swarbric at tramp.Colorado.EDU
...!{ncar|nbires}!boulder!tramp!swarbric
Mal and N*va are dead...
More information about the Comp.lang.c
mailing list