|
发表于 2019-1-28 22:05:57
|
显示全部楼层
--------------------Configuration: 005 - Win32 Debug--------------------
Compiling...
005.c
E:\Microsoft Visual Studio\MyProjects\005\005.c(58) : warning C4047: '==' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(81) : warning C4047: '==' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(93) : warning C4047: 'function' : 'int ' differs in levels of indirection from 'int *'
E:\Microsoft Visual Studio\MyProjects\005\005.c(93) : warning C4024: 'gotoxy' : different types for formal and actual parameter 2
E:\Microsoft Visual Studio\MyProjects\005\005.c(98) : warning C4047: 'function' : 'int ' differs in levels of indirection from 'int *'
E:\Microsoft Visual Studio\MyProjects\005\005.c(98) : warning C4024: 'gotoxy' : different types for formal and actual parameter 2
E:\Microsoft Visual Studio\MyProjects\005\005.c(110) : warning C4047: '=' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(110) : error C2106: '=' : left operand must be l-value
E:\Microsoft Visual Studio\MyProjects\005\005.c(122) : error C2107: illegal index, indirection not allowed
E:\Microsoft Visual Studio\MyProjects\005\005.c(134) : warning C4047: '!=' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(144) : warning C4047: '==' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(197) : error C2107: illegal index, indirection not allowed
E:\Microsoft Visual Studio\MyProjects\005\005.c(197) : warning C4047: '=' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(197) : error C2106: '=' : left operand must be l-value
E:\Microsoft Visual Studio\MyProjects\005\005.c(205) : error C2143: syntax error : missing ';' before 'type'
E:\Microsoft Visual Studio\MyProjects\005\005.c(206) : error C2065: 'key' : undeclared identifier
E:\Microsoft Visual Studio\MyProjects\005\005.c(253) : error C2107: illegal index, indirection not allowed
E:\Microsoft Visual Studio\MyProjects\005\005.c(253) : warning C4047: '=' : 'int [12]' differs in levels of indirection from 'const int '
E:\Microsoft Visual Studio\MyProjects\005\005.c(253) : error C2106: '=' : left operand must be l-value
E:\Microsoft Visual Studio\MyProjects\005\005.c(261) : error C2143: syntax error : missing ';' before 'type'
执行 cl.exe 时出错.
005.exe - 1 error(s), 0 warning(s)
我想问问为啥我复制粘贴你的会出现这种情况,能跟我说说吗,谢谢(在下小白,一窍不通,特别想知道这个的原因。。。。) |
|