k:\jisuan\longbeigea\longbeigea\longbeigea.cpp(34) : error C2668: “pow”: 對重載函數(shù)的調(diào)用不明確
1> d:\軟件程序\vc++8.0\vc\include\math.h(575): 可能是“l(fā)ong double pow(long double,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(527): 或 “float pow(float,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(489): 或 “double pow(double,int)”
1> 試圖匹配參數(shù)列表“(int, int)”時(shí)
1>k:\jisuan\longbeigea\longbeigea\longbeigea.cpp(36) : error C2668: “pow”: 對重載函數(shù)的調(diào)用不明確
1> d:\軟件程序\vc++8.0\vc\include\math.h(575): 可能是“l(fā)ong double pow(long double,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(527): 或 “float pow(float,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(489): 或 “double pow(double,int)”
1> 試圖匹配參數(shù)列表“(int, int)”時(shí)
1>k:\jisuan\longbeigea\longbeigea\longbeigea.cpp(36) : error C2668: “pow”: 對重載函數(shù)的調(diào)用不明確
1> d:\軟件程序\vc++8.0\vc\include\math.h(575): 可能是“l(fā)ong double pow(long double,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(527): 或 “float pow(float,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(489): 或 “double pow(double,int)”
1> 試圖匹配參數(shù)列表“(int, int)”時(shí)
1>k:\jisuan\longbeigea\longbeigea\longbeigea.cpp(36) : error C2668: “pow”: 對重載函數(shù)的調(diào)用不明確
1> d:\軟件程序\vc++8.0\vc\include\math.h(575): 可能是“l(fā)ong double pow(long double,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(527): 或 “float pow(float,int)”
1> d:\軟件程序\vc++8.0\vc\include\math.h(489): 或 “double pow(double,int)”
1> 試圖匹配參數(shù)列表“(int, int)”時(shí)
1>生成日志保存在“file://k:\jisuan\longbeigea\longbeigea\Debug\BuildLog.htm”
1>longbeigea - 4 個(gè)錯(cuò)誤,0 個(gè)警告
========== 生成: 成功 0 個(gè),失敗 1 個(gè),最新 0 個(gè),跳過 0 個(gè) ==========
回復(fù) 更多評論