The first line of input specifies the time interval to report positions, and the
total length of time to run the simulation.
The second line of input specifies the x-y coordinates of the two corners of the
bounding box. The first pair of numbers is the lower left corner, and the second
two numbers is the upper right corner.
The remaining lines of input specify the vehicles, using the same format as for
The objects are specified by their ID, their location at time t = 0 (x/y coordinates
in meters) and their initial velocity (x/y components, in meters/second).
Here is an example of the file format:
0 0 100 100
one 50 50 2 3
two 10 10 -1.2 0.5
The reporting interval is 10 seconds. The simulation should be terminated after
The enclosing box is from (0,0) to (100,100).
The first vehicle has a name “one”. Its initial position is (50,50) and its initial
velocity is 2 m/s in the x-direction and 3 m/s in the y-direction.
The second vehicle has a name “two”. Its initial position is (10,10) and its initial
velocity is -1.2 m/s in the x-direction and 0.5 m/s in the y-direction.
The input comes from standard input (in C++, the cin istream), so the correct
way to run your program is using re-direction, like this:
bouncehouse <[url removed, login to view] >[url removed, login to view]
This saves the results into a text file called [url removed, login to view]
10 freelancers are bidding on average ₹421/hour for this job
Got an excellent team and my team has 7 years of experience into C/C++ & OpenCV. Can very well execute this Project as we have already done something of this sort.