Category : Display Utilities
Archive   : VGA256.ZIP
Filename : SIMPLE.C

 
Output of file : SIMPLE.C contained in archive : VGA256.ZIP

#include
#include
#include

#include "vga256.h" /* pick up the defines for the driver */
#include "vgaextra.h" /* pick up defines for vga extras */

int g_driver,g_mode;

void main()
{
installuserdriver("VGA256",DetectVGA256);
registerbgidriver(VGA256_driver);
initgraph(&g_driver,&g_mode,"");
setcolor(15);
outtextxy(getmaxx()/2,getmaxy()/2,"Hello World");
getch();
restorecrtmode();
}