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: 1475


Replies to This Discussion


Agr ksi ny CS602 assignment solve kr lii tu share kr dain plz

Here is the solution


bhi ab to time khatm but ma ny kfi try ki likn fail

ap k file ko b adit kiea but

apki file to sai ha but apne vu id kese lgane ha ye to bta den kindly? aj extended day ha...


mje b bna do plz

Please Discuss here about this assignment.Thanks

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. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

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

For <graphics.h> header file error, Follow the steps according to the version of your OS, your errors will be removed.

For 64-bit windows install the following version of Dev-CPP.


For adding graphics library in 64-bit version of Dev-CPP see the link that illustrates the steps.


For 32-bit windows you can install the following version of Dev-CPP.


In case you have 32 windows, you are required to follow the instruction as given in the following document.


Furthermore for 32-bit platform, you can download the graphics library from following link.



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