怎么会有那么多错误
# include <stdio.h>int main(void)
{
int i;
int j;
printf("请输入两个数值中间以空格隔开: \n");
scanf("%d %d" &i, &j);
if(i > j)
{
j = i;
printf("j = %d\n",j)
}
return 0;
}
error C2296: '&' : illegal, left operand has type 'char [6]'
warning C4133: 'function' : incompatible types - from 'int *' to 'const char *'
error C2018: unknown character '0xa3'
error C2018: unknown character '0xac'
: error C2146: syntax error : missing ')' before identifier 'j'
: error C2059: syntax error : ')'
fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
[ 本帖最后由 lbt001 于 2015-2-9 13:39 编辑 ]