You haven't said what version of C you're using. I know they made some Windows versions... and since the BGI graphics libraries pretty much call directly into the VGA BIOS registers, I'm guessing you cannot use them under Windows. So your two choices are to either set the compiler to build an MS-DOS app and work like that, or use GDI32 API calls instead, or some newer API like that.. whatever C provides.