Category : accelerated-c++

I tried to compile "grade.cpp" separately, but the terminal returns "Undefined symbols for architecture x86_64"; How to solve this question such that I can compile "grade.cpp" separately? The terminal looks like this (my name is starred): (base) ***************-MacBook-Pro ch4 % g++ grade.cpp Undefined symbols for architecture x86_64: "median(std::__1::vector<double, std::__1::allocator<double> >)", referenced from: grade(double, double, std::__1::vector<double, ..

Read more