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.


+ Link For Assignments, GDBs & Online Quizzes Solution


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


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.


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.


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”.

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

Views: 1474


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


Looking For Something? Search Here


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

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

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