#include<graphics.h>
main()
{
int driver, mod;
driver = VGA/DETECT;
mod = VGAHI/Optional if DETECT is used;
initgraph(&driver, &mod,"C:/tc/bgi");
putpixel(320,240,RED);
getch();
closegraph();
}
Code Example |
---|
C :: how to read space separated words in c |
C :: how to read character from a string in c |
C :: how to get add to number C |
C :: strcasecmp in c |
C :: c program |
C :: unity set transform position code |
C :: concatenate char * c |
C :: format bool c |
C :: copy string c |
C :: %d in c |
C :: multiplication in c |
C :: How to change an array in a function in c |
C :: install tweaks ubuntu |
C :: Hello world in C programming language |
C :: c print to stderr |
C :: c style string |
C :: how to print in c |
C :: add_to_cart how to call it woocommerce |
C :: functions in c |
C :: arrays in c |
C :: pointer to function c |
C :: second largest element in an array |
C :: c median of array |
C :: set all pins as output for loop |
C :: build a linked list in c |
C :: c programming exercises |
C :: how to open form in vb.net |
C :: c program for assignment operator |
C :: ubuntu ocaml install |
C :: setw in c |