C语言:
1,报错:warning-implicit-declaration-of-function
原因:函数定义了,忘记在main之前声明
2,报错:warning: suggest parentheses around assignment used as truth value?
原因:判断语句中应该写 a == b,我写成 a = b
3,报错:error: conflicting types for ‘function‘
原因:函数的定义和声明不一致
C语言:
1,报错:warning-implicit-declaration-of-function
原因:函数定义了,忘记在main之前声明
2,报错:warning: suggest parentheses around assignment used as truth value?
原因:判断语句中应该写 a == b,我写成 a = b
3,报错:error: conflicting types for ‘function‘
原因:函数的定义和声明不一致