diff --git a/Convex_hull_2/examples/Convex_hull_2/array_convex_hull_2.cpp b/Convex_hull_2/examples/Convex_hull_2/array_convex_hull_2.cpp index 6d58f8fc0aa..ddb6c0257d7 100644 --- a/Convex_hull_2/examples/Convex_hull_2/array_convex_hull_2.cpp +++ b/Convex_hull_2/examples/Convex_hull_2/array_convex_hull_2.cpp @@ -11,6 +11,9 @@ int main() Point_2 result[5]; Point_2 *ptr = CGAL::convex_hull_2( points, points+5, result ); - std::cout << ptr - result << " points on the convex hull" << std::endl; + std::cout << ptr - result << " points on the convex hull:" << std::endl; + for(int i = 0; i < ptr - result; i++){ + std::cout << result[i] << std::endl; + } return 0; }