Page not found
Search results
C program to display mouse pointer in graphics mode
... mode is initialized and then mouse using initmouse. C program #include<graphics.h> #include<conio.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; status = initmouse ( ) ; ...
Yogesh Suneja - 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 ) ...
Yogesh Suneja - 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 ...
Yogesh Suneja - 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 ( ...
Yogesh Suneja - 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 ) ...
Yogesh Suneja - 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> ...
Yogesh Suneja - 30/10/2019 - 22:45
putpixel function in c
... (35, 45) then we will write putpixel(35, 35, GREEN); in our c program, putpixel function can be used to draw circles, lines and ellipses using various algorithms. C programming code for putpixel #include<graphics.h> ...
Yogesh Suneja - 08/01/2018 - 20:55
textheight function in c
... pixels. Declaration: int textheight(char *string); C programming source code for textheight #include<graphics.h> ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; height = textheight ( "C ...
Guest (not verified) - 08/01/2018 - 20:55
Textwidth function in c
... in pixels. Declaration: int textwidth(char *string); C programming source code for textwidth #include <stdio.h> ... ] ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; width = textwidth ( "C ...
Yogesh Suneja - 08/01/2018 - 20:55
Function wherey in C
... vertical cursor position. Declaration: int wherey(); C program for wherey #include <stdio.h> #include <conio.h> ... ) ; return 0 ; } C programming: conio.h ...
Yogesh Suneja - 14/12/2019 - 21:30