Page not found
Search results
getcolor function
... drawing color is WHITE then a will be 15. See colors in C graphics . C programming code for getcolor #include<graphics.h> ...
Guest (not verified) - 09/06/2018 - 20:50
String length using strlen
C program to find string length using strlen function of "string.h" header ... length of a string. Declaration: int strlen(char*); C programming code for strlen #include <string.h> int main ( ) { char s [ ] = "C program" ; int length ; length = ...
Yogesh Suneja - 07/01/2018 - 23:42
Floodfill function
... Code given below draws a circle and then fills it. C program #include <graphics.h> #include <conio.h> main ( ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; setcolor ( RED ) ; ...
Yogesh Suneja - 01/12/2019 - 08:56
outtext and outtextxy functions
... at the specified coordinates (x, y) on the screen. C program #include<graphics.h> #include<conio.h> int ... gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; outtext ( "To display text ...
Yogesh Suneja - 23/11/2019 - 11:40
getdrivername function
... returns a pointer to the current graphics driver. C program for getdrivername #include <graphics.h> #include ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; name = getdrivername ( ) ; ...
Yogesh Suneja - 22/11/2019 - 20:26
Matrix addition in Java
... args [ ] ) { int m, n, c, d ; Scanner in = new Scanner ( System . in ) ... elements of first matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:07
delline
... is present and moves all the lines below it one line up. C programming code for delline #include<stdio.h> ... ) ; return 0 ; } C programming: conio.h ...
Yogesh Suneja - 22/11/2019 - 20:19
outtext function
... position. Declaration: void outtext(char *string); C programming code for outtext #include<graphics.h> ... initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; outtext ( "To display text ...
Yogesh Suneja - 08/01/2018 - 20:55
getmaxcolor function
... starts from zero. Declaration: int getmaxcolor(); C program of getmaxcolor #include<graphics.h> #include<conio.h> ... ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; max_colors = getmaxcolor ( ...
Yogesh Suneja - 08/01/2018 - 20:55
Matrix multiplication in Java
... ) { int m, n, p, q, sum = 0 , c, d, k ; Scanner in = new Scanner ( System . in ... of first matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:30