Question: Below I am using the library ccc_win.h for c++ graphics, and I want to know how I can make the trucks connect continuously using lines,
Below I am using the library ccc_win.h for c++ graphics, and I want to know how I can make the trucks connect continuously using lines, as in I want to be able to infinitely place trucks and have lines connect all of them without any gaps as displayed below


157 166 156 void connectCities (Point a, Point b) { Line cities=Line(a,b); 158 cwin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
