lql
(lql)
新手上路

初级会员
UID 22531
精华
0
积分 18
帖子 18
金钱 18 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2003-8-16
状态 离线
|
visual c ++ 6.0 运行程序的问题!急啊!
我用visual c ++ 6.0 编写了一个简单的4.CPP文件,源码如下,运行程序只能是点击编译后的4.EXE, (运行正常)
如果是 使用visual c ++ 6.0 中build ----Execute 4.exe,屏幕没何任反映.是不是设置上有问题.
请问怎样才能在visual c ++ 6.0 中直接调式运行程序.
#include <iostream.h>
#include <conio.h>
int main()
{
int a, b, c;
cout << "enter frtst a=:\n";
cin >> a;
cout << "enter second b=:\n";
cin >> b;
c=a+b;
cout <<"c is " << c <<endl;
getch();
return 0;
}
|
|