C++ code for cross line using Computer Graphics

#include<conio.h>
#include<stdlib.h>
#include<math.h>
#include<dos.h>
#include<graphics.h>
void main()

{
 int d=DETECT,m;
 initgraph(&d,&m,"c:\\tc\\bgi");
for(int x=1;y=10;x<=10000;x++,y++)
{
 putpixel(x,y,white);
}
getch();
closegraph();
}
Posted by Unknown On Thursday, April 11, 2013 No comments

0 comments:

Post a Comment

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Like us

    as

    Contact Form

    Name

    Email *

    Message *