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


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


Dear Students,

Assignment No. 02 has been uploaded and last date for assignment submission is Wednesday, June 10, 2015. Submit your assignment with in due date, no assignment would be accepted through e-mail.


Good Luck!

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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: 2441


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


Replies to This Discussion



This assignment is based your Assignment No.1. Please see the given startup code for this assignment (in attached folder StartupCode) which is same as solution of Assignment No.1. Open Assigment2.dev project file in Dev-C++ and after successful compilation and execution, you will see the output. You can see the code in order to understand how coordinates of the Ball are modified to introduce back and forth motion effect along horzintal axis.

After understanding it’s working, you need to further modify the code as desired in this assignment.


Your Task

Your task is to slightly modify this code just by improving motion effect of the Ball as shown in the executables “Desired_Output.exe”. You can see, Ball is not restricted to horizontal motion only, rather its moving in the rectangular rigion and get reflected with the same angle as inccident angle after colliding with the walls. Each time you execute the program, Ball get started from a randomnly selected position near the top line of rectangle.


Hint: To get ball reflected with the same angle as inccident angle, you can to add/subtract 3 from both x and y coordinates of the ball depending upon its motion direction. 

koi to share kro

there is no solution right uptil now 

please any one discuss about assignment.

upr se....ajj last date he,,....... 

int gd=DETECT,gm,col=0;
int get = 0;col=40;

if(col <600 && get == 0) col++;
else{ get=1; col--; }
if(col==40) goto START;

plz koi bataa saktaa hain yeh error kesay khatum ho ga?

mera b yhi error a raha hy

app dodno directly wo file open karo jo sir n startup code folder m assignment no 2 k name sy send ki hy .........us file ko dev c m open karo or pir run and comopile karo..

Hummm very simple assignment

ye error aa raha ha is ka kia krun ??? web sy search ki but solve ni hoa... help me frnds

to compile and run the startup code,

install version 

follow this link to download dev-c++ 4.9.92



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

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