NetBeans running problem

Hello,i am new in programming world and i am trying to use NetBeans to run C++ codes,when i am trying to run a code i have this problem:
1
2
"Unable to start pty process: 
RUN FAILED (exit value -2, total time: 166ms)" 

I run this code
1
2
3
4
5
6
7
8
9
#include <iostream>
using namespace std;  

int main () 
{ 
    cout << "Have a great day " <<endl;
    return 0;

}

Where is the problem?
Last edited on
Try codeblocks as IDE:

http://www.codeblocks.org/

I hope this will help you.
Last edited on
Codeblocks is more better than NetBeans ?
Try your code(s) using Codeblocks and you'll see and decide yourself.
Works with Codeblocks wtih MinGW,thanks for advice.
You're welcome.
For more info this site is waiting for you:

http://mingw-w64.sourceforge.net/
Can you offer other sites to learn C++ for a newbie?
Beyond this site (click top left) you may visit the following sites:

http://www.learncpp.com/

http://www.penguinprogrammer.co.uk/

http://www.cprogramming.com/tutorial/c++-tutorial.html

As I said from the very beginning, don't forget the site that hosts this forum.

Happy Programming!
Last edited on
Topic archived. No new replies allowed.