Disable math.h crap when working with cmath [duplicate]
问题 This question already has answers here : cmath header confusion (4 answers) Closed 6 years ago . I had a problem previously because of functions being overloaded without std:: . And the curse is still happening every now and then because I don't use using namespace std; . Removing using namespace std causes the program to get crap results Is there a way to disable all those non-std functions that come from c and only work with c++ functions under the namespace std (without having to use using