You are here

Page not found

Search results

  1. getche in C

    ... character and that character is printed on the screen. C code for getche #include<stdio.h> #include<conio.h> main ... ;     return 0 ; } Run this program and press a character. Then view the user screen ( Alt + F5 ) if ...

    Yogesh Suneja - 24/12/2017 - 18:14

  2. abs in C

    ... the absolute value of a number. abs function in C language #include <stdio.h> #include <math.h> int ... ;   return 0 ; } Output of program: You can implement you own function as follows: long ...

    Yogesh Suneja - 27/11/2019 - 18:45

  3. sleep in C

    Sleep function delays program execution for a given number of seconds. Declaration: void sleep(unsigned seconds); C programming code for sleep #include <stdio.h> #include <dos.h> ... ) ;     return 0 ; } C programming: dos.h ...

    Yogesh Suneja - 22/11/2019 - 20:22

  4. textheight function in c

    ... pixels. Declaration: int textheight(char *string); C programming source code for textheight #include<graphics.h> ... ;     initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;     height = textheight ( "C ...

    Guest (not verified) - 08/01/2018 - 20:55

  5. Textwidth function in c

    ... in pixels. Declaration: int textwidth(char *string); C programming source code for textwidth #include <stdio.h> ... ] ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    width = textwidth ( "C ...

    Yogesh Suneja - 08/01/2018 - 20:55

  6. Binary search in Java

    Java program for binary search: This code implements the binary search algorithm. ... ( String args [ ] )   {     int c, first, last, middle, n, search, array [ ] ;       Scanner in ... + " integers" ) ;         for ( c = 0 ; c < n ; c ++ )       array [ c ] = ...

    Yogesh Suneja - 05/12/2019 - 09:11

  7. Armstrong number in Java

    Java program to check if a number is Armstrong or not, it is a number that is equal ... power ( int n, int r ) {     int c, p = 1 ;       for ( c = 1 ; c <= r ; c ++ )       p = p * n ; ...

    Yogesh Suneja - 05/12/2019 - 00:30

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

    Yogesh Suneja - 22/11/2019 - 20:43

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

    Yogesh Suneja - 22/11/2019 - 20:16

  10. rectangle function in c

    ... bottom corner. The code given below draws a rectangle. C programming code for rectangle #include<graphics.h> ... gm ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    rectangle ( 100 , 100 , ...

    Yogesh Suneja - 05/07/2018 - 14:10

Pages