We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# Assignment No. 03 Semester: Fall 2015 CS602: Computer Graphics

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 1404

Attachments:

### Replies to This Discussion

Copy Paste, change the values and you will come to a solution.

plzz code share krain jis main rotation ka ho clockwise and anticlockwise plzzzzzzzzzzz help

Attachments:

thanx @sanwal

CS602_Assignment_03_Solution

Attachments:

is main cpp file nhn hay jahan code lehka hota hay

Remove Circles.cpp file from Circles.dev project and then add it again by selecting the file present in folder.

koi solution file e send kr do plz

Bro help me, mere pas window 10 hai ... file nahi chal rahi , samjh se bahir hai :/

is code main error arha hay

Code is here.

#include<stdio.h>
#include<graphics.h>
#include<conio.h>
#include<dos.h>
#include<stdlib.h>
#include<math.h>
main()
{
int gd=DETECT,gm,x=295,y=222,a,j,i;
initgraph(&gd,&gm," ");
setcolor(8);

outtextxy(x-82,y-10,"My Student id:??????????????");
for (i=1; i>0 ;i++)//change code here
{
delay(1);
setcolor(16);
circle(x+(200*cos(i)),y+(200*sin(i)),8);
setcolor(9);
circle(x+(200*cos(i+45)),y+(200*sin(i+45)),8);
setcolor(16);
circle(x+(165*sin(i)),y+(165*cos(i)),7);
setcolor(14);
circle(x+(165*sin(i+38)),y+(165*cos(i+38)),7);

setcolor(16);
circle(x+(128*cos(i)),y+(128*sin(i)),5);
setcolor(2);
circle(x+(128*cos(i+38)),y+(128*sin(i+38)),5);
setcolor(16);
circle(x+(98*sin(i)),y+(98*cos(i)),6);
setcolor(12);
circle(x+(98*sin(i+38)),y+(98*cos(i+38)),6);
}
getch();
return 0;
}

compile error araha hai koi perfect code de do

## Latest Activity

ayesha tanveer, mahwish anwer Ellahi and Ali shah joined Virtual University of Pakistan
38 minutes ago
Mani Siddiqui BS VIII posted a status
"I don’t trust words, I trust vibes. People can tell you anything but a vibe will tell you everything"
1 hour ago
3 hours ago
7 hours ago
7 hours ago
7 hours ago
7 hours ago
7 hours ago

1

2

3

## HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!