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

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

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

Views: 3630

.

+ 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

+++Student+++++ posted blog posts
39 minutes ago
2.O replied to 2.O's discussion Voice Password :P :P
2 hours ago
2.O replied to 2.O's discussion Voice Password :P :P
2 hours ago
2 hours ago
2.O posted a discussion

Pakistani Currency :P :P

3 hours ago
Fajar and + !! ＡＴＨＥＲ are now friends
4 hours ago
5 hours ago
5 hours ago

1

2

3