You are here

Page not found

Search results

  1. 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

  2. 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

  3. C program to get current position of mouse pointer

    ... to get mouse-pointer coordinates - where is the mouse */ C program #include<graphics.h> #include<conio.h> ... 50 ] ;    initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;    settextstyle ( DEFAULT_FONT , 0 ...

    devyog - 23/11/2019 - 11:40

  4. 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

  5. C program to determine which mouse button is clicked

    ... Program to determine which mouse button is clicked */ C program #include<graphics.h> #include<conio.h> ... 50 ] ;    initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;    settextstyle ( DEFAULT_FONT , 0 ...

    devyog - 23/11/2019 - 11:40

  6. getmaxx and getmaxy functions in C

    ... Y coordinate for current graphics mode and driver. C program #include<graphics.h> #include<conio.h> ... ] ;        initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;    X = getmaxx ( ) ;   ...

    devyog - 23/11/2019 - 11:40

  7. 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

  8. Textheight and textwidth functions in C

    ... function returns the width of a string in pixels. C program #include <graphics.h> #include <stdio.h> ... ] ;   initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;   a = textheight ( "H" ) ; ...

    devyog - 23/11/2019 - 11:40

  9. 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

  10. 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

Pages