我用Turbo C for Windows编译可以通过的程序为什么在VC6.0中有N多错误?甚至连基本的!=都不认得,是怎么回事情?各位如果懂点VC的就说说你们的看法啊,谢谢了.
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(12) : warning C4013: 'malloc' undefined; assuming extern returning int
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(12) : warning C4047: '=' : 'int *' differs in levels of indirection from 'int '
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(14) : warning C4047: '=' : 'int *' differs in levels of indirection from 'const int '
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(18) : warning C4047: '==' : 'int *' differs in levels of indirection from 'int '
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(18) : warning C4013: 'exit' undefined; assuming extern returning int
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(20) : error C2107: illegal index, indirection not allowed
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(20) : warning C4047: '=' : 'int *' differs in levels of indirection from 'int '
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(20) : error C2106: '=' : left operand must be l-value
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(24) : warning C4047: '!=' : 'int *' differs in levels of indirection from 'const int '
D:\新建文件夹\MSDev98\MyProjects\kpl\ojy.c(25) : error C2107: illegal index, indirection not allowed
Error executing cl.exe.
是不是VC中要调什么设置类的玩意?
编译错误