#include "graphics.h" void showerrorbox(const char* message=NULL);
/* showerrorbox example */ #include "graphics.h" int main(void) { /* initialize graphics window at 400 x 300 */ initwindow(400, 300); /* draw a line */ line(0, 0, getmaxx(), getmaxy()); /* display a sample error box */ showerrorbox("Sample of an Error Box"); closegraph(); return 0; }