本文主要是介绍error:comparisons like do not have their mathematical meaning,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
error: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Werror=parentheses]
if ((-3 <= i <= 0) && (0 <= j <= 3)) {
把 if ((-3 <= i <= 0) && (0 <= j <= 3))修改为if ((-3 <= i )&&(i<= 0) && (0 <= j )&&(J<= 3))
分开来写
这篇关于error:comparisons like do not have their mathematical meaning的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!