You are here

Page not found

Search results

  1. setlinestyle in C

    ...  DASHED_LINE ,    USERBIT_LINE } ; C program #include <graphics.h> int main ( ) {   int gd = DETECT , gm , c , x = 100 , y = 50 ;   initgraph ( & gd ...

    Yogesh Suneja - 23/11/2019 - 11:40

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

    Yogesh Suneja - 12/10/2020 - 22:47

  3. Draw shapes using C graphics

    This C graphics program draws basic shapes such as circle, line, rectangle, ellipse and display text on screen using C graphics. This can be a first graphics program for a beginner. C program #include<graphics.h> #include<conio.h> main ( ...

    Yogesh Suneja - 23/11/2019 - 11:40

  4. sprintf in c

    Sprintf in C : It's just like printf but output is sent to a string, rather than standard ... to string. Previous content of string are overwritten. C program #include<stdio.h> int main ( ) {   ... 1 ;   float b = 1.23 ;   char c = 'u' , string [ 100 ] = "My initial character ...

    Yogesh Suneja - 23/11/2019 - 11:40

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

    Yogesh Suneja - 02/10/2020 - 16:14

  6. 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 ( ) { ...

    Yogesh Suneja - 02/10/2020 - 00:25

  7. colors in C graphics

    Following colors are available for use in C graphics programming. Colors table Color Value ... name as it will improve readability of program. C programming: graphics.h ...

    Yogesh Suneja - 09/06/2018 - 20:50

  8. graphdefaults function in c

    ... Sets the default text font and justification. C programming source code for graphdefaults #include <graphics.h> ... gm ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    setcolor ( RED ) ;   ...

    Yogesh Suneja - 09/06/2018 - 20:50

  9. gotoxy in C

    gotoxy in C: gotoxy function places cursor at a desired location on screen i.e., we can ... y) is the position where we want to place the cursor. C programming code for gotoxy // Works in Turbo C compiler only #include <stdio.h> #include <conio.h> int ...

    Yogesh Suneja - 10/10/2018 - 17:33

  10. Captcha program in C

    C program to generate a captcha which is a random string generated using an ... to check whether a human is operating a website. C captcha program #include <stdlib.h> #include <dos.h> ... ] ;   initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;   x = getmaxx ( ) / 2 ; ...

    Yogesh Suneja - 23/11/2019 - 12:15

Pages