遇到的题目要判断一个字符的二维数组a[][]是不是‘0’
我用的是strcmp(a[i],'0')!=0
可是会报错,
error C2664: 'strcmp' : cannot convert parameter 2 from 'const char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast