Page not found
Search results
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
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
Leap year program in C
Leap year program in C to check if a year is a leap year or not, a leap year is one that has 366 ... || []).push({}); Leap year C program #include <stdio.h> int main ( ) { ...
devyog - 02/10/2020 - 00:25
C++ program to reverse a string
C++ program to reverse a string that a user will input, for example, if the ... enters "hello," then "olleh" will be printed as output. C++ program #include <iostream> #include <cstring> using ...
devyog - 23/11/2019 - 12:08
Bar function in c
... change fill pattern and fill color use setfillstyle . C program #include <graphics.h> #include <conio.h> main ( ... gm ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; bar ( 100 , 100 , ...
devyog - 23/11/2019 - 11:40
C program to display mouse pointer in graphics mode
... mode is initialized and then mouse using initmouse. C program #include<graphics.h> #include<conio.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; status = initmouse ( ) ; ...
devyog - 23/11/2019 - 11:40
C program to restrict mouse pointer
... rectangle. /* Program to restrict mouse-pointer */ C program #include<dos.h> #include<graphics.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , 0 ...
devyog - 23/11/2019 - 11:40
C program to hide mouse pointer
... Program to show and hide mouse-pointer alternatively */ C program #include<graphics.h> #include<conio.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; status = initmouse ( ) ; ...
devyog - 23/11/2019 - 11:40