Issue
I'm programming in C++ with Netbeans 8.2 at school, these computers have Ubuntu 14.04 and gcc-4.3
.
The cout randomly works altought it doesn't send any errors in the log.
Every computer here has the same problem.
main.cpp:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char** argv) {
cout << "Hello World!" << endl;
return 0;
}
Posible (and expected) output:
Hello World!
RUN FINISHED; exit value 0,; real time: 0ms; user: 0ms; system: 0ms
Other posible output:
RUN FINISHED; exit value 0,; real time: 0ms; user: 0ms; system: 0ms
Solution
I solved this going to Project Properties -> Run -> Console Type -> Standard output
Answered By - drymisty