We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ 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
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Assignment No. 02
CS602: Computer Graphics
Total Marks: 20
Please read the following instructions carefully before submitting assignment:
Read and follow the instructions given in document inside the Help folder attached.
It should be clear that your assignment will not get any credit if:
The objective of this assignment is to;
In this assignment, you are provided with a small startup code attached with this assignment in folder “Startup_Code”. Your job is to slightly modify this code as desired in this assignment.
First, you need to understand the working of the given code and execute it in Dev-C++. This program essentially draws some text on screen with a line and a rectangle on screen as shown in following screenshot. We refer to the Rectangle as “Window” that is open.
Initially, you need to open Assigment2.dev project file in Dev-C++. After successful compilation and execution, you will see the output.
Your task is to add new code that fill this rectangle with “Red color” in a way using “boundary fill algorithm” that it appears that first left side of window is closed and then the right side as shown in “Window.exe”. To show the window closing slowly, you need add the “delay” function. This simply requires only few lines of code to modify the x and y coordinates with reference to boundary. You shall add your code in the areas indicated with comments “add your code here”.
Screenshot of the desired output:
You are required to submit your solution through LMS in zip format containing two files.
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
Download this and extract then just make a little change and enjoy
yaeh! good work bro i got it thanx a lot :-)
hmmm zip extract ni ho rha please send me code
code main eror a ra plz guid
.cpp file missing!
Inam Siddiqui open file and press upward button in winrar window after that right click on corrupt file and select repair and check button with option of .zip, not rar. it will give you file with starting word of rebuild then extract the file the way you like. TA DA.
jo file upload ki hayis main error hay
Ap say run shi tarah ni ho rhi :) . Mein har programe verify kr k deta hon ... ap shyd windows 7 use ni kr rhay . ya phr ap isay kisi ek folder mein ni kr rhay extract ya phr ap mudassir boss.dev file ni kr rhay open :) ..
assalamu alaikum can u help me iin this assinment ??? i shal b vry thnkful to u