home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
w
/
wgt3_ex.zip
/
WGT01.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-08
|
383b
|
19 lines
#include <conio.h>
#include <wgt.h>
/* WORDUP Graphics Toolkit Version 3.0
Demonstration program 1
Simply starts the graphics mode (320x200x256), draws a line, gets a key,
returns to text mode, and exits.
*/
void main(void)
{
vga256(); // initializes system
wsetcolor(15);
wline(0,0,319,199);
getch();
textmode(C80); // used to return to text mode
}