Page not found
Search results
Draw shapes using C graphics
This C graphics program draws basic shapes such as circle, line, rectangle, ellipse and display text on screen using C graphics. This can be a first graphics program for a beginner. C program #include<graphics.h> #include<conio.h> main ( ...
devyog - 23/11/2019 - 11:40
colors in C graphics
Following colors are available for use in C graphics programming. Colors table Color Value ... name as it will improve readability of program. C programming: graphics.h ...
devyog - 09/06/2018 - 20:50
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 #include <stdio.h> #include <conio.h> int ...
devyog - 10/10/2018 - 17:33
C program to move a car
Program in C using graphics to move a car. A car is made using two rectangles and two ... = window.adsbygoogle || []).push({}); C program #include <graphics.h> #include <dos.h> #include ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , ...
devyog - 23/11/2019 - 11:40
C program to draw a 3d bar chart
This C program draws a 3d bar chart. C program #include <graphics.h> #include <conio.h> int ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; setcolor ( YELLOW ) ; ...
devyog - 23/11/2019 - 11:40
C program to draw circles in circles
C program to draw circles in circles in two different colors. C program #include<graphics.h> #include<conio.h> ... b ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; delay ( 2000 ) ; ...
devyog - 23/11/2019 - 11:40
C program draw bar chart
C program to draw a bar chart using graphics. The chart is drawn using bars filled with different styles and colors. C program #include <graphics.h> #include <conio.h> int ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; setcolor ( YELLOW ) ; ...
devyog - 23/11/2019 - 11:40
C countdown program
C graphics program which performs countdown for 30 seconds. C program #include <graphics.h> #include <dos.h> #include ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; settextjustify ( CENTER_TEXT , ...
devyog - 23/11/2019 - 11:40
C program to draw pie chart
This C program draws a pie chart showing percentage of various components drawn with different filling styles and colors. C program /* Program to draw a pie chart */ #include<graphics.h> ... ( midx + 100 , midy - 75 , "20.83%" ) ; setfillstyle ( XHATCH_FILL , RED ) ; ...
devyog - 23/11/2019 - 11:40
Press me button game in c, download press-me-button game
Press me game in C:- In this game when you try to bring mouse near a button it moves away from ... very close to button we move the button suitably. C program #include <stdio.h> #include <conio.h> #include ... , error ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; error = graphresult ( ) ; ...
devyog - 23/11/2019 - 11:40