You are here

Page not found

Search results

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

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

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

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

  5. fillpoly function in c

    ... and color which can be changed using setfillstyle . C program #include <graphics.h> #include <conio.h> main ( ... } ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    fillpoly ( 4 , points ) ...

    devyog - 23/11/2019 - 11:40

  6. getpixel and putpixel functions in C

    ... plots a pixel at a point(x, y) of the specified color. C programming code for getpixel and putpixel #include<graphics.h> ... ] ;    initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;    putpixel ( x , y , RED ) ...

    devyog - 22/11/2019 - 20:43

  7. 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 ... otherwise it returns zero. Declaration: int kbhit(); C programming code for kbhit #include <stdio.h> #include ... so the control will come out of the while loop. C programming: conio.h ...

    devyog - 22/11/2019 - 20:31

  8. getbkcolor function in C

    ... If current background color is GREEN, color will be 2. C program for getbkcolor #include <graphics.h> #include ... ] ;    initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;        bkcolor = getbkcolor ( ...

    devyog - 22/11/2019 - 20:24

  9. lineto function in C

    ... can get current position using getx and gety function. C programming code for lineto #include <graphics.h> #include ... gm ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    moveto ( 100 , 100 ) ...

    devyog - 22/11/2019 - 20:16

  10. C program to find the largest of three numbers

    C program to find the largest of three numbers: User will input three integers ... of operator and '&&' is the logical AND operator. C program to determine largest of three numbers #include <stdio.h> ...

    devyog - 30/10/2019 - 22:45

Pages