include cmath

This commit is contained in:
Jidong Xiao
2025-03-13 23:24:06 -04:00
committed by JamesFlare1212
parent be9341c55a
commit ec9a32372c

View File

@@ -150,6 +150,7 @@ Heres code using exceptions to sort a collection of lines by slope:
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath> // for fabs() function
class Point {
public: