| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
max似乎是个函数 template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)In Reply To:奇怪,dev c++ 编译不过,vc 却可以??大虾看看!! Posted by:sailors at 2007-08-26 17:40:37 make all Building file: ../test.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test.d" -MT"test.d" -o"test.o" "../test.cpp" ../test.cpp: In function ‘int dfs(int)’: ../test.cpp:16: 错误: 对 ‘max’ 的引用有歧义 ../test.cpp:5: 错误: candidates are: int max Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator