开发者

Randomly Run Failed with simple cout project

When using this simple snippet

int main(int argc, char** argv) {
    cout << "Joris" << endl;
    return 0;
}

I get randomly this result: 开发者_Go百科Joris or RUN FAILED.

Behaviour occurs with internal terminal or standard output in project settings. I run under openSUSE Netbeans 7.0.1 with GCC.


Do you get the same result with the following?

#include <iostream>

int main()
{
    std::cout << "Joris" << std::endl;
    return 0;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜