We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

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

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 3668

.

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

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

Attachments:

### Replies to This Discussion

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

AOA! Dear fellows Share your valuable Ideas ... Early Posts will b highly Solicited ...

dear how we can add red color in our code
plz help

YOu need to use the setcolor(RED) property after declaring integers in your boundary_Fill function

Any one have the idea or not and please let me know i am not able add graphic library in my dev

it just a piece of cake

Any hint ????

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

#include
#include
#include
void boundfill(int xc,int yc,int r,int b)
{
int cur;
cur=getpixel(xc,yc);
if(cur!=b && cur!=r)
{
putpixel(xc,yc,r);
delay(1);

boundfill(xc+1,yc,r,b);
boundfill(xc-1,yc,r,b);
boundfill(xc,yc+1,r,b);
boundfill(xc,yc-1,r,b);
}

}
main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"..\\bgi");

rectangle(100,100,300,300);
boundfill(105,105,4,WHITE);

getch();
closegraph();
}

yeh kya dy dya :D

bro color kaisy ay ga. plz help us..

## Latest Activity

7 minutes ago
2 hours ago
2 hours ago
+ ! ! ! ! ! A ϻ e l꧂ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Computer Science
4 hours ago
+ ! ! ! ! ! A ϻ e l꧂ updated their profile
4 hours ago
stylo posted a discussion

### mcd403 final term paper 15 feb,2020

4 hours ago
6 hours ago
6 hours ago
6 hours ago
6 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" posted a discussion

### Computer Science

6 hours ago
Musab Zahoor joined + M.Tariq Malik's group

6 hours ago

1

2

3