首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

小弟我的eclipse for c++运行结束什么结果都没有

2012-11-18 
我的eclipse for c++运行结束什么结果都没有#include iostream#includestdio.husing namespace stdcl

我的eclipse for c++运行结束什么结果都没有

#include <iostream>
#include<stdio.h>
using namespace std;
class A { public: int m_a; };
class B { public: int m_b; };
class C : public A, public B {};
int main() {
C c;
//printf("%p, %p, %p\r\n", &c, reinterpret_cast<B*>(&c), static_cast <B*>(&c));
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
getchar();
return 0;
}


点击 run as ,没有报错 但是console结果这里空的...
然后只有点击debug 然后单步运行才有输出.

然后在左边 binaries里看得到有我的exe,为什么这样,谢谢

[解决办法]
是的,换Code::Blocks(http://www.codeblocks.org/)吧。

热点排行