Page not found
Search results
C program to hide mouse pointer
... Program to show and hide mouse-pointer alternatively */ C program #include<graphics.h> #include<conio.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; status = initmouse ( ) ; ...
devyog - 23/11/2019 - 11:40
getpixel and putpixel functions in C
... plots a pixel at a point(x, y) of the specified color. C programming code for getpixel and putpixel #include<graphics.h> ... ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; putpixel ( x , y , RED ) ...
devyog - 22/11/2019 - 20:43
kbhit in C
Function kbhit in C is used to determine if a key has been pressed or not. To use it in a program ... otherwise it returns zero. Declaration: int kbhit(); C programming code for kbhit #include <stdio.h> #include ... so the control will come out of the while loop. C programming: conio.h ...
devyog - 22/11/2019 - 20:31
getbkcolor function in C
... If current background color is GREEN, color will be 2. C program for getbkcolor #include <graphics.h> #include ... ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; bkcolor = getbkcolor ( ...
devyog - 22/11/2019 - 20:24
lineto function in C
... can get current position using getx and gety function. C programming code for lineto #include <graphics.h> #include ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; moveto ( 100 , 100 ) ...
devyog - 22/11/2019 - 20:16
C program to find the largest of three numbers
C program to find the largest of three numbers: User will input three integers ... of operator and '&&' is the logical AND operator. C program to determine largest of three numbers #include <stdio.h> ...
devyog - 30/10/2019 - 22:45
rectangle function in c
... bottom corner. The code given below draws a rectangle. C programming code for rectangle #include<graphics.h> ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; rectangle ( 100 , 100 , ...
devyog - 05/07/2018 - 14:10
grapherrormsg function in C
... Declaration: char *grapherrormsg( int errorcode ); C programming code for grapherrormsg #include <graphics.h> ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; errorcode = graphresult ( ) ...
devyog - 09/06/2018 - 20:50
textbackground in C
... . Declaration: void textbackground(int color); C programming code for textbackground #include<stdio.h> ... textbackground ( RED ) ; cprintf ( "C program to change background color." ) ; getch ( ) ...
devyog - 03/02/2018 - 16:06
Function moverel in C
... distance. Declaration: void moverel(int x, int y); C programming code for moverel #include <graphics.h> #include ... ] ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; moveto ( 100 , 100 ) ...
devyog - 24/01/2018 - 17:57