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

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Instructions

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 assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Solution is copied from any other source.

Objective

The objective of this assignment is to;

  • Learn and practice basic concepts of computer graphics using Dev-C++. (you can download Dev-C++ setup from LMS)
  • Learn to draw lines by using graphics library functions.

Assignment

In this assignment, you are provided with a small startup code attached with this assignment in folder “Startup_Code”. Your job is to add some 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 and a line on screen as shown in following screenshot.

Initially, you need to open Assigment1.dev project file in Dev-C++. After successful compilation and execution, you will see the above output.

Your Task

Your task is to slightly modify this code in a way that by drawing the flag of France. Three colors should be used in drawing France flag i.e. blue, white and red respectively. Secondly there should be white color border line around the France Flag.

You can see the France flag with three colors showing vertically three colors in exe file “France flag.exe”. You shall add your code in “solution.cpp” file in the areas indicated with comments “Modify your code here”.

+ 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?


See Your Saved Posts Timeline

Views: 1376

.

+ 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)

Attachments:

Replies to This Discussion

can someone vanish this warning? then please

kindly reply to kre fb pe bhai aj extended day ha.... file to ok mil gaye ha lekin apna vu id kese show krna ha ye ni pta lg rha

Engr Emh

Email, cell no, facebook personal links, links sharing for promotion any kind of site & youtube direct link sharing is not allowed at the site.

 

Although If you want to share the youtube video, then paste the embed codes here of the youtube video. Otherwise your comment / reply will be deleted. As well as your account will be deleted from the site. Thanks for understanding.

bro mere pas ye compile nhi ho raha. kya waja hai boht time lga raha hai

RSS

Latest Activity

2.O replied to 2.O's discussion Dying from Curiosity :P :P
2 hours ago
2.O replied to 2.O's discussion Dying from Curiosity :P :P
2 hours ago
2.O posted discussions
2 hours ago
Azam Khan Buzdar replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Drama serial
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked 彡JK彡 ❤️'s discussion پچھتاوے تو تمہارے لئے ہیں
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to 彡JK彡 ❤️'s discussion چھٹی کی درخواست
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked 彡JK彡 ❤️'s discussion چھٹی کی درخواست
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Aksar...!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Saaya...!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Cheekh.....!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked zohaib iftikhar's discussion ...* KIA KOI ALLAH PE AHSAN KR SAKTA HAI??? ...*
3 hours ago
+ ! ! ! ! Ⲙehar Roman replied to october's discussion poetry
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked Zain Kazimi's discussion self poetry
3 hours ago
+ ! ! ! ! Ⲙehar Roman liked october's discussion poetry
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to Zain Kazimi's discussion self poetry
3 hours ago
+ ! ! ! ! Ⲙehar Roman liked ++"S.M.TALHA"++'s blog post ابا جی ڈیڈی اور پاپا میں زمین اور آسمان کا فرق ہوتا ہے
3 hours ago
+ ! ! ! ! Ⲙehar Roman liked ++"S.M.TALHA"++'s blog post سر پلیز....
3 hours ago
+ ! ! ! ! Ⲙehar Roman liked +++STUDENT+++'s blog post Search Beauty
3 hours ago
+ ! ! ! ! Ⲙehar Roman liked +++STUDENT+++'s blog post change
3 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service