标题:VC为什么不能运行这个程序?
只看楼主
哈哈鱼
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2006-3-12
 问题点数:0 回复次数:0 
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.
就是这个程序,别的好多程序到可以通过.
搜索更多相关主题的帖子: 运行 
2006-03-13 17:33



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-50198-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.111934 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved