|
发表于 2014-6-29 18:25:20
|
显示全部楼层
报了一堆错误啊
--------------------Configuration: 练笔 - Win32 Debug--------------------
Compiling...
练笔.c
E:\金山快盘\360云盘\C语言\练笔\练笔.c(12) : error C2275: 'FILE' : illegal use of this type as an expression
d:\program files\microsoft visual studio\vc98\include\stdio.h(156) : see declaration of 'FILE'
E:\金山快盘\360云盘\C语言\练笔\练笔.c(12) : error C2065: 'seed' : undeclared identifier
E:\金山快盘\360云盘\C语言\练笔\练笔.c(13) : warning C4047: '==' : 'int ' differs in levels of indirection from 'void *'
E:\金山快盘\360云盘\C语言\练笔\练笔.c(17) : error C2143: syntax error : missing ';' before 'type'
E:\金山快盘\360云盘\C语言\练笔\练笔.c(18) : error C2065: 'name' : undeclared identifier
E:\金山快盘\360云盘\C语言\练笔\练笔.c(18) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(18) : warning C4024: 'sprintf' : different types for formal and actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(19) : error C2275: 'FILE' : illegal use of this type as an expression
d:\program files\microsoft visual studio\vc98\include\stdio.h(156) : see declaration of 'FILE'
E:\金山快盘\360云盘\C语言\练笔\练笔.c(19) : error C2065: 'file_encryption' : undeclared identifier
E:\金山快盘\360云盘\C语言\练笔\练笔.c(19) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(19) : warning C4024: 'fopen' : different types for formal and actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(20) : error C2143: syntax error : missing ';' before 'type'
E:\金山快盘\360云盘\C语言\练笔\练笔.c(21) : error C2065: 'ch' : undeclared identifier
E:\金山快盘\360云盘\C语言\练笔\练笔.c(22) : error C2065: 'se' : undeclared identifier
E:\金山快盘\360云盘\C语言\练笔\练笔.c(22) : warning C4047: 'function' : 'struct _iobuf *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(22) : warning C4024: 'fgetc' : different types for formal and actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(23) : warning C4047: 'function' : 'struct _iobuf *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(23) : warning C4024: 'rewind' : different types for formal and actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(28) : warning C4047: 'function' : 'struct _iobuf *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(28) : warning C4024: 'fputc' : different types for formal and actual parameter 2
E:\金山快盘\360云盘\C语言\练笔\练笔.c(30) : warning C4022: 'free' : pointer mismatch for actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(31) : warning C4047: 'function' : 'struct _iobuf *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(31) : warning C4024: 'fclose' : different types for formal and actual parameter 1
E:\金山快盘\360云盘\C语言\练笔\练笔.c(33) : warning C4047: 'function' : 'struct _iobuf *' differs in levels of indirection from 'int '
E:\金山快盘\360云盘\C语言\练笔\练笔.c(33) : warning C4024: 'fclose' : different types for formal and actual parameter 1
执行 cl.exe 时出错.
练笔.obj - 1 error(s), 0 warning(s)
|
|