[Solved] Reprinted: C++: Explain error: call of overloaded ‘abs(int)’ is ambiguous

This article is the original article of CSDN blogger “Xiaoweiwei__”, the original link: https://blog.csdn.net/linwh8/article/details/50754147?locationNum=14 & amp;fps=1 C++: explain error: call of overloaded ‘abs(int)’ is ambiguous Tag: C++ overload abs(int) by Serena Wei When I finished my homework yesterday, I found that under the header file, return abs(x1*x2) compiled successfully on g++ on ubuntu, but in […]