VC为什么不能运行这个程序?
各位晚上好,我碰到了个问题,就是我用TC编译通过的程序,用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.
就是这个程序,别的好多程序到可以通过.