In this program fragment, I am able to derive the dimension of a vector, but how to display its contents?
typedef pair <double, double> point; ... ... vector<point> hull = convexHull(points); cout << (hull.size()) << endl; In this program fragment, I am able to derive the dimension of a vector, but how to display its contents?
typedef pair <double, double> point; ... ... vector<point> hull = convexHull(points); cout << (hull.size()) << endl; Source: https://ru.stackoverflow.com/questions/662918/
All Articles