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;
}
精彩评论