开发者

Randomly Run Failed with simple cout project

开发者 https://www.devze.com 2023-03-26 00:51 出处:网络
When using this simple snippet int main(int argc, char** argv) { cout << \"Joris\" << endl;

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

精彩评论

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