I used dev-cpp to compile a simple HelloWorld program it compiles and links but doesn't run. A process appears in my TaskManager which uses 100Kb of memory and can't be killed (not even with "End Task") but the Windows doesn't tell me why.
Also I tried to run a HelloWorld program compiled by a friend of mine on VS C++ but same problem. The HelloWorld program works great on his computer. The problem is not related with console apps because I tried to run a Windows GUI program compiled on my friend's computer using VS C++ that also works great on his computer but the same problem on my.
What could cause the problem?
The source code of my HelloWorld program:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
system("pause");
return 0;
}