Page not found
Search results
C Programming Tutorials
C programs with output C Graphics programming tutorial Project Development Tutorial ... of programming simplified. Here you will find tutorials on C graphics programming, game programming, mouse programming in C, project ...
Yogesh Suneja - 14/11/2019 - 23:44
colors in C graphics
Following colors are available for use in C graphics programming. Colors table Color Value ... advised to use color name as it will improve readability of program. C programming: graphics.h ...
Yogesh Suneja - 09/06/2018 - 20:50
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 ...
Yogesh Suneja - 08/01/2018 - 20:55
graphdefaults function in c
... Sets the default text font and justification. C programming source code for graphdefaults #include <graphics.h> ... ; return 0 ; } In the above program we have first changed the drawing color to RED and background color to ...
Yogesh Suneja - 09/06/2018 - 20:50
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 you should include the header file "conio.h". If a key has been ... otherwise it returns zero. Declaration: int kbhit(); C programming code for kbhit #include <stdio.h> #include ...
Yogesh Suneja - 22/11/2019 - 20:31
gotoxy in C
gotoxy in C: gotoxy function places cursor at a desired location on screen i.e., we can ... y) is the position where we want to place the cursor. C programming code for gotoxy // Works in Turbo C compiler only ... gotoxy ( x , y ) ; printf ( "C program to change cursor position." ) ; getch ( ) ; ...
Yogesh Suneja - 10/10/2018 - 17:33
grapherrormsg function in C
... Declaration: char *grapherrormsg( int errorcode ); C programming code for grapherrormsg #include <graphics.h> ... ; return 0 ; } In the above program we have not written gd = DETECT. After running this program we get ...
Yogesh Suneja - 09/06/2018 - 20:50
Arc function in C
... angle and end angle should be 0 and 360 respectively. C programming source code for arc #include <graphics.h> #include ... ) ; return 0 ; } In the program (100, 100) are coordinates of center of arc, 0 is the starting angle, ...
Yogesh Suneja - 03/10/2018 - 18:04
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
Line function in c
... Declaration: void line(int x1, int y1, int x2, int y2); C programming code for line #include <graphics.h> #include ... ) ; return 0 ; } Above program draws a line from (100, 100) to (200, 200). C programming: ...
Yogesh Suneja - 08/01/2018 - 20:55