Page not found
Search results
C program to compare large numbers (integers)
... number which is smaller in magnitude is the larger one. C program to compare numbers using string #include <stdio.h> ...
Yogesh Suneja - 16/11/2019 - 09:19
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 , ...
Yogesh Suneja - 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 ( ) ...
Yogesh Suneja - 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 ( ) ...
Yogesh Suneja - 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 ) ...
Yogesh Suneja - 24/01/2018 - 17:57
getx function in C
... of the current position. Declaration: int getx(); C program of getx #include <graphics.h> #include <conio.h> ... ] ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; sprintf ( array , "Current ...
Yogesh Suneja - 16/01/2018 - 19:08
setcolor function in c
... to RED. Remember that default drawing color is WHITE. C programming code for setcolor #include<graphics.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; circle ( 100 , 100 , ...
Yogesh Suneja - 08/01/2018 - 20:55
getmaxy function in c
... mode and driver. Declaration: int getmaxy(); C program for getmaxy #include<graphics.h> #include<conio.h> ... ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; max_y = getmaxy ( ) ; ...
Yogesh Suneja - 08/01/2018 - 20:55
moveto function in c
... to (x, y) Declaration: void moveto(int x, int y); C programming code for moveto #include <graphics.h> #include ... ] ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; sprintf ( msg , "X = %d, Y ...
Yogesh Suneja - 08/01/2018 - 20:55
Cleardevice function in c
... of filling the screen with current background color. C program for cleardevice #include <graphics.h> #include ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; outtext ( "Press any key to clear ...
Yogesh Suneja - 08/01/2018 - 20:55