<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2289259654117574211.post348957682380823006..comments</id><updated>2010-05-31T11:14:22.048-07:00</updated><title type='text'>Comments on Computer Graphics Lab: Pendulam</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://computergraphics.dipinkrishna.info/feeds/348957682380823006/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default'/><link rel='alternate' type='text/html' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html'/><author><name>Dipin Krishna</name><uri>http://www.blogger.com/profile/08940524052547849343</uri><email>dipinkrishna@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2289259654117574211.post-8986746103009574617</id><published>2010-05-31T11:14:22.041-07:00</published><updated>2010-05-31T11:14:22.041-07:00</updated><title type='text'>Hii Dipin,
I tried the pendulam program,but it giv...</title><content type='html'>Hii Dipin,&lt;br /&gt;I tried the pendulam program,but it gives warning&lt;br /&gt;My friend gave this program&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int gd=DETECT,gm;&lt;br /&gt;float xc=320,yc=240,x,y,l,r,a,i,rad;&lt;br /&gt;initgraph(&amp;amp;gd,&amp;amp;gm,&amp;quot;C:\\TC\\BGI&amp;quot;);&lt;br /&gt;printf(&amp;quot;\nEnter the length\n&amp;quot;);&lt;br /&gt;scanf(&amp;quot;%f&amp;quot;,&amp;amp;l);&lt;br /&gt;printf(&amp;quot;\nEnter radius\n&amp;quot;);&lt;br /&gt;scanf(&amp;quot;%f&amp;quot;,&amp;amp;r);&lt;br /&gt;printf(&amp;quot;\nEnter angle\n&amp;quot;);&lt;br /&gt;scanf(&amp;quot;%f&amp;quot;,&amp;amp;a);&lt;br /&gt;a=a/2;&lt;br /&gt;while(!kbhit)&lt;br /&gt;{&lt;br /&gt;for(i=-a;i&amp;lt;=a;i++)&lt;br /&gt;{&lt;br /&gt;rad=(3.14*i)/180;&lt;br /&gt;x=xc+(l*sin(rad));&lt;br /&gt;y=yc+(l*cos(rad));&lt;br /&gt;line(xc,yc,x,y);&lt;br /&gt;circle(x,y,r);&lt;br /&gt;setfillstyle(SOLID_FILL,10);&lt;br /&gt;floodfill(x,y,10);&lt;br /&gt;delay(30);&lt;br /&gt;cleardevice();&lt;br /&gt;}&lt;br /&gt;for(i=a;i&amp;gt;=-a;i--)&lt;br /&gt;{&lt;br /&gt;rad=(3.14*i)/180;&lt;br /&gt;x=xc+(l*sin(rad));&lt;br /&gt;y=yc+(l*cos(rad));&lt;br /&gt;line(xc,yc,x,y);&lt;br /&gt;circle(x,y,r);&lt;br /&gt;setfillstyle(SOLID_FILL,10);&lt;br /&gt;floodfill(x,y,10);&lt;br /&gt;delay(30);&lt;br /&gt;cleardevice();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;getch();&lt;br /&gt;}&lt;br /&gt;But It didn&amp;#39;nt work out too&lt;br /&gt;Can you plz help me to correct my mistakes</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/8986746103009574617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/8986746103009574617'/><link rel='alternate' type='text/html' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html?showComment=1275329662041#c8986746103009574617' title=''/><author><name>dhanz</name><uri>http://www.blogger.com/profile/18081163608646483181</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html' ref='tag:blogger.com,1999:blog-2289259654117574211.post-348957682380823006' source='http://www.blogger.com/feeds/2289259654117574211/posts/default/348957682380823006' type='text/html'/></entry></feed>