I have recently installed Code Blocks and I\'m using it for C++ programming.
I have written a basic Hello World program and when i run the program, 2 console window
This problem can be caused by an antivirus application like avast that executes unknown applications for a short time in a sandbox to determine if the program appears to be a virus. Disabling this feature altogether or excluding your visual studio project folders are good way around this issue.
If you're running Avast, go to :
Should run fine now.