## C Program to impliment Fish Movement

x+=5;

y+=1;

arc(x,y,stangle,endangle+35,radius);

arc(x,y-110,190,323,radius+2);

circle(x+40,y-60,5);

line(x-90,y-90,x-90,y-8);

October 2nd, 2009

electrofriends.cominitgraph

9 Comments

x+=5;

y+=1;

arc(x,y,stangle,endangle+35,radius);

arc(x,y-110,190,323,radius+2);

circle(x+40,y-60,5);

line(x-90,y-90,x-90,y-8);

October 2nd, 2009

1 Comment

setcolor(YELLOW);

printf(“ENTER THE NUMBER OF RINGS IN THE SPIRAL MODEL\n”);

scanf(“%d”,&n);

printf(“Enter the origin point of the spiral”);

scanf(“%d%d”,&x,&y);

October 2nd, 2009

4 Comments

void main()

{

int gd=DETECT,gm;

int x=10,y=480;

initgraph(&gd,&gm,”..\\bgi”);

while(!kbhit())

{

cleardevice();

if(y==0)

October 2nd, 2009

89 Comments

To start with graphics programming, Turbo C is a good choice. Even though DOS has its own limitations, it is having a large number of useful functions and is easy to program. To implement graphics algorithms, To give graphical display of statistics, To view signals from any source, we can use C graphics. Here is […]

November 20th, 2008

Click Here to Submit

Click Here to Submit

Get latest projects, articles in your mail box, subscribe to electrifriends