请问用dev c++编译后运行怎么看不见结果?
屏幕只是一闪 问题点数:0、回复次数:8Top
1 楼freefalcon(心宇—消失中...)回复于 2004-05-03 15:55:51 得分 0
最后加上
system("pause");Top
2 楼Leung_(Vector)回复于 2004-05-03 19:00:12 得分 0
system("PAUSE")
only work in dev C++.
you can #include <conio.h>
and then add a line:
getch();
at the end of your source.Top
3 楼julyclyde(Java初学(大学不教只好自己学))回复于 2004-05-03 19:04:10 得分 0
system("pause")
will work on any compilers that based on Windows/DOSTop
4 楼PaulZhao(等咱阔了,养个日本人当宠物.)回复于 2004-05-03 19:09:24 得分 0
1、#include <conio.h>
.
.
.
getch();
return 0;
.
2、#include <stdlib.h>
.
.
.
system("PAUSE");
.
.
Top
5 楼PaulZhao(等咱阔了,养个日本人当宠物.)回复于 2004-05-03 19:10:21 得分 0
1是tc,VC可以支持的,2能在Dev-cpp中使用Top
6 楼wellsmith(似是故人来)回复于 2004-05-05 23:00:20 得分 0
#include <iostream.h>
#include <stdlib.h>
using namespace std;
int main(void)
{
std::cout << "Hello." << endl;
return 0;
system("PAUSE");
}
I rewrited it by that,but it still flashed by!
why?
sometimes it says:resource file not complied.
what can i do?Top
7 楼Andy84920(你也不懂)回复于 2004-05-06 11:07:49 得分 0
用cinl.getchar();吧。
那你可能有时没编译嘛。
不过有时我用system("PAUSE")时也是一下就过去了。
和程序代码有关,不过你上面的代码应该不会闪过去的。
Top
8 楼wellsmith(似是故人来)回复于 2004-05-07 20:47:46 得分 0
haha,今天终于没问题了,呵呵,谢谢楼上啊.
但是感觉还是用TC++好玩,不过刚开始,还不了解dev-c++.Top




