Page not found
Search results
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 smiling face animation
This animation using C draws a smiling face which appears at random positions on the screen. C program #include<graphics.h> #include<conio.h> ... p ; 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
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
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
Subtract matrices
C code to subtract matrices of any order. This program finds the difference ... of two matrices and then print the resultant matrix. C program #include <stdio.h> int main ( ) { int m , n , c , d , first [ 10 ] [ 10 ] , second [ 10 ] ...
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> ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; setcolor ( MAGENTA ) ; ...
devyog - 23/11/2019 - 11:40
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> ...
devyog - 08/01/2018 - 20:55
Getarcoords function in C
... type arccoordstype is passed to function getarccoords. C program of getarccoords #include<graphics.h> #include<conio.h> ... ] ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; arc ( 250 , 200 , 0 ...
devyog - 12/10/2020 - 22:47
assert in C
... assert(int expression); The expression can be any valid C language expression many a time it is a condition. In the program, we ... the condition that does not hold (see image below). C assert program #include <stdio.h> #include ...
devyog - 02/10/2020 - 16:14