Running my C++ code gives me a blank console

前端 未结 1 737
温柔的废话
温柔的废话 2020-11-22 00:46

I\'m trying to run some C++ code in Visual Studio 2015. When I build it I get no errors, but once I run it, all I get is an empty console. I don\'t think it froze, because I

相关标签:
1条回答
  • 2020-11-22 01:06

    Note: this issue is also being reported by gcc/mingw/cygwin users.

    Do you use Avast antivirus? If so, try disabling it and then test your program. There have been several similar questions on SO recently and Avast was the problem.

    If that fixes the problem I suggest you add an exclusion for your "\Visual Studio 2015\Projects" directory instead of completely disabling your antivirus. You could also file a bug report with Avast or try a different antivirus.

    0 讨论(0)
提交回复
热议问题