Wednesday, May 04, 2005

pUtPiXeL

Anonymous:
#include
#include
#include

void main() {
int gd=DETECT, gm;

initgraph( &gd,&gm,"" );

//plot the pixel
putpixel(10,10,15);

getch();
closegraph();
}

This is what we need to write just to plot a pixel [picture+element] on the screen.

Akky: Am i dreaming? Isnt this 2005 ?

Anonymous: Hey its 2005 [precisely 11:51 PM 5/4/2005] and no dream at all. Come to your senses asap bcoz tommorrow using the above basics U will need to plot lines, circles, ellipses, polygons, graphs, etc.

Akky: I hope the computer that I get has the CG programs dumped in it.

Anonymous: Best of luck !

Akky: Thanks.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home