<?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>2011-10-19T10:04:11.079-07:00</updated><category term='lab exam question'/><category term='Text'/><category term='computergraphics lab'/><category term='cg lab programs in c'/><category term='cglab'/><category term='cglabprogramsinc'/><category term='6th semester cg lab'/><category term='pendulam'/><category term='WWW'/><category term='cg lab'/><category term='to start with graphics programming in c'/><category term='6th sem cg lab'/><category term='cglabprograms'/><category term='wheel'/><category term='Browse'/><category term='moving wheel'/><category term='6thsem cslab'/><category term='ELinks'/><category term='Computer Graphics programs'/><category term='cusat6thsemlab'/><category term='cg lab programs'/><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>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_4_yp7K0HvoE/SUeIkVUh6jI/AAAAAAAAAAo/3Y602BcZlR4/S220/cvb.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2289259654117574211.post-789616456383614741</id><published>2011-10-19T10:04:11.079-07:00</published><updated>2011-10-19T10:04:11.079-07:00</updated><title type='text'>plzz tel me the coding to show the ticking the clo...</title><content type='html'>plzz tel me the coding to show the ticking the clock or minutes hand moving in a clock..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/789616456383614741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/789616456383614741'/><link rel='alternate' type='text/html' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html?showComment=1319043851079#c789616456383614741' title=''/><author><name>U are my love and my life</name><uri>http://www.blogger.com/profile/02393023915110392748</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-yHdX-twa6_w/TVaqAvSDGRI/AAAAAAAAAAg/5xlr0i5X5Xo/s220/c0a5cb0045b0758d29628543184bd2c1.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-145816717'/></entry><entry><id>tag:blogger.com,1999:blog-2289259654117574211.post-1856424984564563487</id><published>2011-03-17T23:45:08.453-07:00</published><updated>2011-03-17T23:45:08.453-07:00</updated><title type='text'>to dipin:
#include
#include
#include
#include

int...</title><content type='html'>to dipin:&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;&lt;br /&gt;int cx=300,cy=100,r=300;&lt;br /&gt;int x=0,y,p;&lt;br /&gt;&lt;br /&gt;void path(int dtn)&lt;br /&gt;{&lt;br /&gt;int x1,y1;&lt;br /&gt;setcolor(15);&lt;br /&gt;if(x&amp;gt;=y)&lt;br /&gt;{&lt;br /&gt;exit (0);&lt;br /&gt;}&lt;br /&gt;cleardevice();&lt;br /&gt;&lt;br /&gt;if(dtn==1)&lt;br /&gt;{&lt;br /&gt;circle(cx+x,cy+y,20);&lt;br /&gt;line(cx,cy,cx+x,cy+y);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;circle(cx-x,cy+y,20);&lt;br /&gt;line(cx,cy,cx-x,cy+y);&lt;br /&gt;}&lt;br /&gt;delay(10);&lt;br /&gt;if(kbhit())&lt;br /&gt;exit(0);&lt;br /&gt;x++;&lt;br /&gt;if(p&amp;lt;0)&lt;br /&gt;p+=2*x+1;&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;y--;&lt;br /&gt;p+=2*(x-y)+1;&lt;br /&gt;}&lt;br /&gt;x1=x;&lt;br /&gt;y1=y;&lt;br /&gt;path(dtn);&lt;br /&gt;&lt;br /&gt;cleardevice();&lt;br /&gt;if(dtn==1)&lt;br /&gt;{&lt;br /&gt;circle(cx+x1,cy+y1,20);&lt;br /&gt;line(cx,cy,cx+x1,cy+y1);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;circle(cx-x1,cy+y1,20);&lt;br /&gt;line(cx,cy,cx-x1,cy+y1);&lt;br /&gt;}&lt;br /&gt;delay(10);&lt;br /&gt;if(kbhit())&lt;br /&gt;exit(0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int gd=DETECT,gm=DETECT;&lt;br /&gt;initgraph(&amp;amp;gd,&amp;amp;gm,&amp;quot;&amp;quot;);&lt;br /&gt;cleardevice();&lt;br /&gt;putpixel(300,100,4);&lt;br /&gt;printf(&amp;quot;enter 1 if u want to see pendulum&amp;quot;);&lt;br /&gt;scanf(&amp;quot;%d&amp;quot;,&amp;amp;ch);&lt;br /&gt;while(ch!=1)&lt;br /&gt;{&lt;br /&gt;x=0;&lt;br /&gt;y=r;&lt;br /&gt;p=1-r;&lt;br /&gt;path(1);&lt;br /&gt;x=0;&lt;br /&gt;y=r;&lt;br /&gt;p=1-r;&lt;br /&gt;path(0);&lt;br /&gt;}&lt;br /&gt;getch();&lt;br /&gt;}dipin use this may be this will remove ur warnings..........</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/1856424984564563487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/1856424984564563487'/><link rel='alternate' type='text/html' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html?showComment=1300430708453#c1856424984564563487' title=''/><author><name>hemant</name><uri>http://www.blogger.com/profile/07066850715894356667</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-931168198'/></entry><entry><id>tag:blogger.com,1999:blog-2289259654117574211.post-3907992618166931053</id><published>2011-03-17T23:15:30.461-07:00</published><updated>2011-03-17T23:15:30.461-07:00</updated><title type='text'>&lt;b&gt;my friend try using header filesthey are dos.h,...</title><content type='html'>&lt;b&gt;my friend try using header filesthey are dos.h,stdio.h,maths.h,conio.h and graphics.h then it will show u successs........just try it...&lt;/b&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/3907992618166931053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2289259654117574211/348957682380823006/comments/default/3907992618166931053'/><link rel='alternate' type='text/html' href='http://computergraphics.dipinkrishna.info/2008/10/pendulam.html?showComment=1300428930461#c3907992618166931053' title=''/><author><name>hemant</name><uri>http://www.blogger.com/profile/07066850715894356667</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-931168198'/></entry><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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-446756481'/></entry></feed>
