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 ‘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))
分开来写