बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

Showing posts with label graphics programming in c examples simple graphics. Show all posts
Showing posts with label graphics programming in c examples simple graphics. Show all posts

Draw x And Y axis Center Of Screen Using C program

graphics program in c to draw a moving car
c graphics program for animation
graphics programming in c with output
graphics programming in c examples
simple graphics program in c to draw a line
c program to draw a square using graphics
graphics programming in c pdf
c program to draw a rectangle using graphics

Draw x And Y axis Center Of Screen Using C program


#include<conio.h>
#include<graphics.h>
#include<stdio.h>
void main()
{
 int gd=DETECT,gm,maxx,maxy,midx,midy;
 //load driver
 initgraph(&gd,&gm,"c:\\tc\\bgi");
 cleardevice();
        maxx=getmaxx();
        maxy=getmaxy();
        midx=maxx/2;
        midy=maxy/2;
        line(0,midy,midx,maxy);
        line(midx,0,midx,maxy);
 getch();
 closegraph();
}

  • graphics program in c to draw a moving car
  • c graphics program for animation
  • graphics programming in c with output
  • graphics programming in c examples
  • simple graphics program in c to draw a line
  • c program to draw a square using graphics
  • graphics programming in c pdf
  • c program to draw a rectangle using graphics


C Program example List