Help with making this variable?

Pages: 12
I hate to see you re-install such a large software suit for nothing. Try this one last thing before you do...
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <stdlib.h>

using namespace std;

int main() {
  cout<<"Hello world!\n";
  system("pause");
  return 0;
}
holy mother of God, it worked!!

http://i.imgur.com/GkdUx.png

I don't know why but it did!
thank you! Apparently, if I set my document is set as main document, this happens. Now that i didn't set it as a main project, it works fine. Netbeans is stupid I guess. What software do you use for coding?
Because your program never terminated, or returned to the os. It stopped executing, but never got destructed. But congrats!
Topic archived. No new replies allowed.
Pages: 12