Reputation: 402
I tried to compile a simple Hello World in C++ to test that my Visual Studio 2013 on my Windows 10 works well but I've a problem. My program compile but when I run, it freeze. It's an empty Win32 Console Application with a "main.cpp" :
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!";
return 0;
}
I am confused. If somebody have an idea of what's happening, please help me.
Update 1 : I repair my installation. Same problem. Breakpoint doesn't help. It seems to freeze before. And also no trace of a task in the task manager when launched without debugging.
Upvotes: 2
Views: 844
Reputation: 402
It was my antivirus' fault (in my case, Avast). I made it ignore my Visual Studio projects and it works. Solved by @Blastfurnace.
Upvotes: 3