An .exe file generated by MinGW g++ doesn't work

recently, when I compile any file in CodeBlocks (using mingw32-g++.exe), when I execute the generated .exe file, the executable starts but does nothing. Then, when I close it, it seems that it is opened somewhere by an another program, because I am not able to rebuild the file without restarting the computer first. Maybe that issue is caused by a certain security application? I have Avast installed and earlier it analysed once the executable in Sandbox, but now the Sandbox doesn't start, although in Avast statistics I can see that the .exe file is scanned.

Thank you for any good advice.


While reading your question, I determined to ask you that Avast is running on your PC or not!

And at the end I got my answer. This is a common problem of avast. So, disable Avast while running code in codeblocks.

TO be more specific:

Maybe that issue is caused by a certain security application?

Yes, and it is Avast.

Need Your Help

Reverse String Linked List Recursively

c++ recursion linked-list

I would like to first create a linked list with strings from the user (until the user inputs a full-stop), then reverse it recursively and then print the new list.

SQL Server 2005 slows down as I keep adding rows

sql-server sql-server-2005 performance

As a preface, I am brand new to using SQL Server 2005; I know how to use the SELECT, UPDATE, DELETE, and INSERT commands and that's about it. I am also using Express Edition on my local PC (E8400