在vs2017中不能直接使用min函数应该怎么办啊。
加上
#include <algorithm> #include <stdlib.h> #include <windows.h> #include <windef.h>
如果还不行,试试看 __min 和 __max